silverstripe-cms/javascript/MemberTableField_popup.js

14 lines
414 B
JavaScript
Raw Normal View History

MemberTableFieldPopupForm = Class.extend("ComplexTableFieldPopupForm");
MemberTableFieldPopupForm.prototype = {
initialize: function() {
this.ComplexTableFieldPopupForm.initialize();
Behaviour.register({
"form#MemberTableField_Popup_DetailForm .Actions input.action": {
onclick: this.submitForm.bind(this)
}
});
}
}
MemberTableFieldPopupForm.applyTo('form#MemberTableField_Popup_DetailForm');