Merge branch 'master' of https://github.com/szmoore/MCTX3420
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / static / mctx.gui.js
index 9d0270b..773fa23 100644 (file)
@@ -16,7 +16,7 @@ mctx.location = mctx.location.substring(0, mctx.location.lastIndexOf('/')) + "/"
 mctx.api = location.protocol + "//" + location.host + "/" + "api/";
 mctx.expected_api_version = 0;
 mctx.has_control = false;
-//mctx.debug = true;
+mctx.debug = true;
 
 mctx.statusCodes = {
   STATUS_OK : 1
@@ -218,7 +218,7 @@ $.fn.setStrainGraphs = function () {
       }
       $.plot(graphdiv, data);
       setTimeout(updater, 500);
-    }, function () {alert("It crashed");});
+    }, function () {debugLog("It crashed");});
   };
   
   updater();

UCC git Repository :: git.ucc.asn.au