From 0f1d506586c2553852cb88204a3e529abace6f78 Mon Sep 17 00:00:00 2001 From: 8chan Date: Wed, 11 Mar 2015 02:58:03 -0700 Subject: [PATCH] Change this message again Conflicts: js/ajax.js --- js/ajax.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/ajax.js b/js/ajax.js index 1b2bf2c0..56f0df5c 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -115,7 +115,10 @@ $(window).ready(function() { } }, 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: ') + "
"); + $(form).find('input[type="submit"]').val(submit_txt); + $(form).find('input[type="submit"]').removeAttr('disabled'); }, data: formData, cache: false,