Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 0ebd52516b5959a7de7dd5f5a36c3a671487fa5a 1 parent 0aeace2
@chillu chillu authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  javascript/CMSMain.AddForm.js
View
3  javascript/CMSMain.AddForm.js
@@ -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('');
}
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.