Permalink
Browse files

MINOR Triggering parent field expansion on click (on change doesn't w…

…ork in IE)
  • Loading branch information...
1 parent e35991b commit a4494d4775fbd07e7a78ab9c22cb5cfbc45a3063 @chillu chillu committed Jan 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 javascript/CMSMain.EditForm.js
View
4 javascript/CMSMain.EditForm.js
@@ -247,11 +247,11 @@
* Parameters:
* (Event) e
*/
- onchange: function(e) {
+ onclick: function(e) {
var parentTreeDropDown = $('.cms-edit-form.CMSPageSettingsController #ParentID');
if (e.target.id == 'Form_EditForm_ParentType_root') parentTreeDropDown.slideUp();
- else parentTreeDropDown.slideDown();
+ else parentTreeDropDown.slideDown();
}
});

0 comments on commit a4494d4

Please sign in to comment.