mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Adjusted WidgetAreaEditor javascript to new event names triggered by CMS forms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92679 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3725a98da3
commit
4726893607
@ -58,7 +58,7 @@ WidgetAreaEditorClass.prototype = {
|
|||||||
|
|
||||||
// Ensure correct sort values are written when page is saved
|
// Ensure correct sort values are written when page is saved
|
||||||
// TODO Adjust to new event listeners
|
// TODO Adjust to new event listeners
|
||||||
$('Form_EditForm').observeMethod('BeforeSave', this.beforeSave.bind(this));
|
jQuery('#Form_EditForm').bind('ajaxsubmit', this.beforeSave.bind(this));
|
||||||
},
|
},
|
||||||
|
|
||||||
rewriteWidgetAreaAttributes: function() {
|
rewriteWidgetAreaAttributes: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user