mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
ajax.js: add ajax_after_post event
This commit is contained in:
parent
31097b89d1
commit
6fc4c02c4e
@ -107,6 +107,7 @@ $(window).ready(function() {
|
||||
}, 'html');
|
||||
}
|
||||
$(form).find('input[type="submit"]').val(_('Posted...'));
|
||||
$(document).trigger("ajax_after_post", post_response);
|
||||
} else {
|
||||
alert(_('An unknown error occured when posting!'));
|
||||
$(form).find('input[type="submit"]').val(submit_txt);
|
||||
|
Loading…
Reference in New Issue
Block a user