accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1299229 - /incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml
Date Sat, 10 Mar 2012 16:13:38 GMT
Author: billie
Date: Sat Mar 10 16:13:38 2012
New Revision: 1299229

URL: http://svn.apache.org/viewvc?rev=1299229&view=rev
Log:
ACCUMULO-453 fix for readyState other than 4

Modified:
    incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml

Modified: incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml?rev=1299229&r1=1299228&r2=1299229&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml (original)
+++ incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml Sat Mar 10 16:13:38
2012
@@ -76,7 +76,10 @@ window.requestAnimFrame = (function(call
 })();
 
 function handleNewData() {
-  if (xmlhttp.readyState!=4 || xmlhttp.status!=200 || xmlhttp.status==null) {
+  if (xmlhttp.readyState!=4) {
+    return;
+  }
+  if (xmlhttp.status!=200 || xmlhttp.responseXML==null) {
     xmlReturned = true;
     return;
   }



Mime
View raw message