Perf-o-matic build fix. Also toggle the switch to start using ping images on the...
[WebKit-https.git] / Websites / webkit-perf.appspot.com / js / admin.js
index 2b54595eba5f54c0aaa9f74cac21280fa76d7f2c..03c769dea7a6fd1ba1496f762cb0e779e0ddc58f 100644 (file)
@@ -75,7 +75,7 @@ $('form').bind('submit', function (event) {
             return;
         if (xhr.status != 200)
             error('HTTP status: ' + xhr.status);
             return;
         if (xhr.status != 200)
             error('HTTP status: ' + xhr.status);
-        else if (xhr.responseText != 'OK')
+        else if (xhr.responseText != 'OK\n')
             error(xhr.responseText);
     }
     xhr.open(this.method, this.action, true);
             error(xhr.responseText);
     }
     xhr.open(this.method, this.action, true);