Change this message again

Conflicts:
	js/ajax.js
This commit is contained in:
8chan 2015-03-11 02:58:03 -07:00 committed by czaks
parent d3cc27ff5c
commit 0f1d506586

View File

@ -115,7 +115,10 @@ $(window).ready(function() {
} }
}, },
error: function(xhr, status, er) { error: function(xhr, status, er) {
alert(_('The server returned an error or truncated response -- your post was probably still submitted. If it wasn\'t, 8chan.co might be experiencing issues right now -- please try your post again later.')); console.log(xhr);
alert(_('The server took too long to submit your post. Your post was probably still submitted. If it wasn\'t, we 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,