MINOR Removed debug code

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92682 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:14:00 +00:00
parent b6dc2dec79
commit 6514dc35d4

View File

@ -155,7 +155,6 @@ var ss_MainLayout;
var selected = this.find(':input[name=ParentType]:checked').val(); var selected = this.find(':input[name=ParentType]:checked').val();
// reset parent id if 'root' radiobutton is selected // reset parent id if 'root' radiobutton is selected
if(selected == 'root') this.find(':input[name=ParentID]').val(0); if(selected == 'root') this.find(':input[name=ParentID]').val(0);
console.debug(selected);
// toggle tree dropdown based on selection // toggle tree dropdown based on selection
this.find('#ParentID').toggle(selected != 'root'); this.find('#ParentID').toggle(selected != 'root');
} }