1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 23:50:11 +01:00

Change this message again

This commit is contained in:
8chan 2015-03-11 02:58:03 -07:00
parent 5f06f8bd44
commit 8c2b8d521d

View File

@ -121,7 +121,9 @@ $(window).ready(function() {
}, },
error: function(xhr, status, er) { error: function(xhr, status, er) {
console.log(xhr); console.log(xhr);
alert(_('The server returned an error or truncated response -- your post was probably still submitted. If it wasn\'t, 8chan might be experiencing issues right now -- please try your post again later.')); alert(_('The server took too long to submit your post. Your post was probably still submitted. If it wasn\'t, 8chan might be experiencing issues right now -- please try your post again later. Error information: ') + "<div><textarea>" + JSON.stringify(xhr) + "</textarea></div>");
$(form).find('input[type="submit"]').val(submit_txt);
$(form).find('input[type="submit"]').removeAttr('disabled');
}, },
data: formData, data: formData,
cache: false, cache: false,