You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bi...@apache.org on 2012/03/10 17:13:38 UTC
svn commit: r1299229 -
/incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml
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;
}