BUG Disallow "add page here" shortcut to avoid $allowed_children edge cases (fixes #7694)

This commit is contained in:
Ingo Schommer 2012-09-02 18:07:00 +02:00
parent 1cd82e2db1
commit fd8e852c92

View File

@ -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
};
}