Remove a wasted check of XMLHttpResponse state
[gssweb.git] / navigator.gssweb.js
index 8aa498c..cd17389 100644 (file)
@@ -148,9 +148,6 @@ var GSSWeb = (function () {
     this.xhr.onreadystatechange = this.recvTokenFromServer.bind(this);
 
     this.xhr.send(msg);
-    if (this.xhr.readyStatus <= 2)
-        console.log("Error sending POST, readyStatus =" + this.xhr.readyStatus
-                  + ", msg = '" + msg + "'");
   };
 
   GSSWeb.prototype.recvTokenFromServer = function () {