comparison 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
comparison
equal deleted inserted replaced
107:e94398f5e027 108:80ab249d1adc
23 lastTr.hide(); 23 lastTr.hide();
24 lastTr.fadeIn(3000); 24 lastTr.fadeIn(3000);
25 postButton.removeAttr('disabled').val('Submit Reply'); 25 postButton.removeAttr('disabled').val('Submit Reply');
26 }, 26 },
27 error: function (xhr, textStatus, ex) { 27 error: function (xhr, textStatus, ex) {
28 alert('Oops, an error occurred. Please reload the page and try again.'); 28 alert('Oops, an error occurred. ' + xhr.statusText + ' - ' +
29 xhr.responseText);
29 postButton.removeAttr('disabled').val('Submit Reply'); 30 postButton.removeAttr('disabled').val('Submit Reply');
30 } 31 }
31 }); 32 });
32 return false; 33 return false;
33 }); 34 });