Mercurial > public > sg101
diff media/js/forums.js @ 108:80ab249d1adc
Forums: quoting existing posts.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 26 Sep 2009 03:55:50 +0000 |
parents | e94398f5e027 |
children | 07be3e39e639 |
line wrap: on
line diff
--- a/media/js/forums.js Tue Sep 22 03:36:39 2009 +0000 +++ b/media/js/forums.js Sat Sep 26 03:55:50 2009 +0000 @@ -25,7 +25,8 @@ postButton.removeAttr('disabled').val('Submit Reply'); }, error: function (xhr, textStatus, ex) { - alert('Oops, an error occurred. Please reload the page and try again.'); + alert('Oops, an error occurred. ' + xhr.statusText + ' - ' + + xhr.responseText); postButton.removeAttr('disabled').val('Submit Reply'); } });