mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merged [47017]: Modified behaviour for MemberTableField popups so that the behaviour is applied if the Security section uses a subclass of MemberTableField rather than an instance of MemberTableField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60257 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
cd86e016a0
commit
9a24dd6c42
@ -4,11 +4,11 @@ MemberTableFieldPopupForm.prototype = {
|
|||||||
this.ComplexTableFieldPopupForm.initialize();
|
this.ComplexTableFieldPopupForm.initialize();
|
||||||
|
|
||||||
Behaviour.register({
|
Behaviour.register({
|
||||||
"form#MemberTableField_Popup_DetailForm .Actions input.action": {
|
"div.MemberTableField_Popup .Actions input.action": {
|
||||||
onclick: this.submitForm.bind(this)
|
onclick: this.submitForm.bind(this)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MemberTableFieldPopupForm.applyTo('form#MemberTableField_Popup_DetailForm');
|
MemberTableFieldPopupForm.applyTo('div.MemberTableField_Popup .Actions');
|
Loading…
Reference in New Issue
Block a user