includes/clientside/static/comments.js
changeset 407 35d94240a197
parent 359 e0787bb6285b
child 420 301f546688d1
--- a/includes/clientside/static/comments.js	Fri Feb 08 23:20:20 2008 -0500
+++ b/includes/clientside/static/comments.js	Sun Feb 10 19:35:06 2008 -0500
@@ -19,7 +19,7 @@
     parms.have_template = true;
   parms = ajaxEscape(toJSONString(parms));
   ajaxPost(stdAjaxPrefix+'&_mode=comments', 'data=' + parms, function() {
-    if(ajax.readyState == 4) {
+    if ( ajax.readyState == 4 && ajax.status == 200 ) {
       unsetAjaxLoading();
       selectButtonMajor('discussion');
       unselectAllButtonsMinor();