diff --git a/js/ajax.js b/js/ajax.js index 794e6a48..d3065475 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -121,7 +121,9 @@ $(window).ready(function() { }, error: function(xhr, status, er) { 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: ') + "
"); + $(form).find('input[type="submit"]').val(submit_txt); + $(form).find('input[type="submit"]').removeAttr('disabled'); }, data: formData, cache: false,