mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Triggering parent field expansion on click (on change doesn't work in IE)
This commit is contained in:
parent
e35991b363
commit
a4494d4775
@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user