Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS tree context menu breaks on nodes of page types that implement HiddenClass #861

Closed
sheadawson opened this issue Oct 3, 2013 · 0 comments

Comments

@sheadawson
Copy link
Contributor

Line 40 in CMSMain.Tree.js:

disallowedChildren = hints[pagetype].disallowedChildren

If pagetype is an implementor of "HiddenClass", hints[pagetype] is undefined, causing a js error.

This has caused issues with our multisites module, see https://github.com/sheadawson/silverstripe-multisites/issues/31. This issue has been closed but the solution is not ideal. A core fix would be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant