ajax.js: add ajax_before_post event to be fired before posting (passing formData to be modified); vichan-devel#20
This commit is contained in:
parent
72b3220f72
commit
0aa76587ce
@ -32,6 +32,8 @@ $(window).ready(function() {
|
||||
formData.append('json_response', '1');
|
||||
formData.append('post', submit_txt);
|
||||
|
||||
$(document).trigger("ajax_before_post", formData);
|
||||
|
||||
var updateProgress = function(e) {
|
||||
var percentage;
|
||||
if (e.position === undefined) { // Firefox
|
||||
|
Loading…
Reference in New Issue
Block a user