From a4494d4775fbd07e7a78ab9c22cb5cfbc45a3063 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 3 Jan 2012 17:57:40 +0100 Subject: [PATCH] MINOR Triggering parent field expansion on click (on change doesn't work in IE) --- javascript/CMSMain.EditForm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/CMSMain.EditForm.js b/javascript/CMSMain.EditForm.js index 72cec0bb..693375d0 100644 --- a/javascript/CMSMain.EditForm.js +++ b/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(); } });