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:
Ingo Schommer 2009-11-21 02:39:24 +00:00
parent 3725a98da3
commit 4726893607

View File

@ -58,7 +58,7 @@ WidgetAreaEditorClass.prototype = {
// Ensure correct sort values are written when page is saved
// 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() {