Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG Disallow "add page here" shortcut to avoid $allowed_children edge…

… cases (fixes #7694)
  • Loading branch information...
commit fd8e852c9277641ef5a1d496060e72653ba7dc91 1 parent 1cd82e2
Ingo Schommer chillu authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 javascript/CMSMain.Tree.js
5 javascript/CMSMain.Tree.js
View
@@ -41,11 +41,6 @@
if(allowedChildren.hasOwnProperty('allowedchildren-0')) {
menuitems['addsubpage'] = {
'label': ss.i18n._t('Tree.AddSubPage'),
- 'action': function(obj) {
- $('.cms-container').entwine('.ss').loadPanel(ss.i18n.sprintf(
- self.data('urlAddpage'), id, 'Page'
- ));
- },
'submenu': allowedChildren
};
}
Please sign in to comment.
Something went wrong with that request. Please try again.