MINOR Triggering parent field expansion on click (on change doesn't work in IE)

This commit is contained in:
Ingo Schommer 2012-01-03 17:57:40 +01:00
parent e35991b363
commit a4494d4775

View File

@ -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();
}
});