Skip to content

Commit

Permalink
MINOR Removed debug coe
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@108837 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Aug 3, 2010
1 parent e65b892 commit 0d66807
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion javascript/LeftAndMain.AddForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion javascript/LeftAndMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 0d66807

Please sign in to comment.