mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 09:05:57 +00: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;
|
if ( url.indexOf('?') !== -1 ) cacheBuster = '&cacheBuster=' + cacheBuster;
|
||||||
else cacheBuster = '?cacheBuster=' + cacheBuster;
|
else cacheBuster = '?cacheBuster=' + cacheBuster;
|
||||||
|
|
||||||
|
$(this).trigger('beforesubmitform');
|
||||||
data = $(this).serialize();
|
data = $(this).serialize();
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@ -183,4 +184,4 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
}(jQuery));
|
}(jQuery));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user