mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
BUG. beforesubmitform should be triggered before saving data.
beforesubmitform should be triggered before saving data. Othervise hidden input related to HtmlEditorField wouldn't be updated.
This commit is contained in:
parent
3d344f4db5
commit
ac180615f3
@ -89,6 +89,7 @@
|
||||
if ( url.indexOf('?') !== -1 ) cacheBuster = '&cacheBuster=' + cacheBuster;
|
||||
else cacheBuster = '?cacheBuster=' + cacheBuster;
|
||||
|
||||
$(this).trigger('beforesubmitform');
|
||||
data = $(this).serialize();
|
||||
|
||||
$.ajax({
|
||||
@ -183,4 +184,4 @@
|
||||
});
|
||||
});
|
||||
|
||||
}(jQuery));
|
||||
}(jQuery));
|
||||
|
Loading…
Reference in New Issue
Block a user