Skip to content
This repository
Browse code

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

… cases (fixes #7694)
  • Loading branch information...
commit fd8e852c9277641ef5a1d496060e72653ba7dc91 1 parent 1cd82e2
Ingo Schommer authored September 02, 2012

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. 5  javascript/CMSMain.Tree.js
5  javascript/CMSMain.Tree.js
@@ -41,11 +41,6 @@
41 41
 						if(allowedChildren.hasOwnProperty('allowedchildren-0')) {
42 42
 							menuitems['addsubpage'] = {
43 43
 									'label': ss.i18n._t('Tree.AddSubPage'),
44  
-									'action': function(obj) {
45  
-										$('.cms-container').entwine('.ss').loadPanel(ss.i18n.sprintf(
46  
-											self.data('urlAddpage'), id, 'Page'
47  
-										));
48  
-									},
49 44
 									'submenu': allowedChildren
50 45
 								};
51 46
 						}				

0 notes on commit fd8e852

Please sign in to comment.
Something went wrong with that request. Please try again.