Permalink
Browse files

MINOR Removed debug coe

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@108837 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent e65b892 commit 0d668075866b12f459d3b70c91c1ae1ca32f7537 @chillu chillu committed Aug 3, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −1 javascript/LeftAndMain.AddForm.js
  2. +0 −1 javascript/LeftAndMain.js
@@ -128,7 +128,7 @@
allowed = selectedNode.hints.allowedChildren;
} else {
// Fallback to globals
- allowed = siteTreeHints['Root'].allowedChildren;
+ allowed = (typeof siteTreeHints !== 'undefined') ? siteTreeHints['Root'].allowedChildren : [];
}
// Re-add all allowed <option> to the dropdown
@@ -69,7 +69,6 @@ var ss_MainLayout;
var timerID = "timerLeftAndMainResize";
if (window[timerID]) clearTimeout(window[timerID]);
window[timerID] = setTimeout(function() {
- console.debug(self._resizeChildren);
self._resizeChildren();
}, 200);
});

0 comments on commit 0d66807

Please sign in to comment.