From 55c5e1a6f71c64073f74997b070d4873aa423273 Mon Sep 17 00:00:00 2001 From: Jeremy Tan Date: Mon, 7 Oct 2013 18:42:06 +0800 Subject: [PATCH] re-enable strain graph on control page --- testing/MCTXWeb/public_html/control.html | 7 +++++++ testing/MCTXWeb/public_html/static/mctx.gui.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/testing/MCTXWeb/public_html/control.html b/testing/MCTXWeb/public_html/control.html index 0a27efc..ecefd5a 100644 --- a/testing/MCTXWeb/public_html/control.html +++ b/testing/MCTXWeb/public_html/control.html @@ -33,6 +33,7 @@ }); $("#errorlog").setErrorLog(); + $("#strain-graphs").setStrainGraphs(); }); }) @@ -128,6 +129,12 @@ Error and warning messages
+
+
Strain gauges
+
+ +
+
diff --git a/testing/MCTXWeb/public_html/static/mctx.gui.js b/testing/MCTXWeb/public_html/static/mctx.gui.js index 106a4b4..773fa23 100644 --- a/testing/MCTXWeb/public_html/static/mctx.gui.js +++ b/testing/MCTXWeb/public_html/static/mctx.gui.js @@ -218,7 +218,7 @@ $.fn.setStrainGraphs = function () { } $.plot(graphdiv, data); setTimeout(updater, 500); - }, function () {alert("It crashed");}); + }, function () {debugLog("It crashed");}); }; updater(); -- 2.20.1