FIX Unset "underneath page" title when switching to "top" in "add page"

This commit is contained in:
Ingo Schommer 2013-03-25 23:41:21 +01:00
parent 0aeace2aec
commit 0ebd52516b

View File

@ -7,8 +7,9 @@
$(".cms-add-form .parent-mode :input").entwine({
onclick: function(e) {
if(this.val() == 'top') {
var parentField = this.closest('form').find('#ParentID .TreeDropdownField');
var parentField = this.closest('form').find('#ParentID .TreeDropdownField')
parentField.setValue('');
parentField.setTitle('');
}
}
});