mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
b6dc2dec79
commit
6514dc35d4
@ -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');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user