Permalink
Browse files

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

… cases (fixes #7694)
  • Loading branch information...
1 parent 1cd82e2 commit fd8e852c9277641ef5a1d496060e72653ba7dc91 @chillu chillu committed Sep 2, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 javascript/CMSMain.Tree.js
View
5 javascript/CMSMain.Tree.js
@@ -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
};
}

0 comments on commit fd8e852

Please sign in to comment.