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:
Hayden Smith 2008-08-10 22:45:42 +00:00
parent cd86e016a0
commit 9a24dd6c42

View File

@ -4,11 +4,11 @@ MemberTableFieldPopupForm.prototype = {
this.ComplexTableFieldPopupForm.initialize();
Behaviour.register({
"form#MemberTableField_Popup_DetailForm .Actions input.action": {
"div.MemberTableField_Popup .Actions input.action": {
onclick: this.submitForm.bind(this)
}
});
}
}
MemberTableFieldPopupForm.applyTo('form#MemberTableField_Popup_DetailForm');
MemberTableFieldPopupForm.applyTo('div.MemberTableField_Popup .Actions');