X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fcontrol.html;h=034a50ce4e883e17eead2fe98a5ff828646a7ee4;hb=7deca6b4e089e76e279ae84c0aa25728d91e8fd9;hp=5d22e90d05da7b0df598a5d71339694d4992e14c;hpb=7e9d726ccd53626251e56b92c8eec47772bfe0f9;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/control.html b/testing/MCTXWeb/public_html/control.html index 5d22e90..034a50c 100644 --- a/testing/MCTXWeb/public_html/control.html +++ b/testing/MCTXWeb/public_html/control.html @@ -18,7 +18,10 @@ $(document).ready(function () { $("form").submit(function () { //Prevent form submit globally return false; - }); + }).trigger("reset"); //Reset forms + + //Force enable start buttons if previously disabled + $("#start-controls input[type='button']").removeAttr("disabled"); //Set the status updated $("#state-exp").setStatusUpdater(); @@ -50,7 +53,8 @@ }); $("#pressure-controls input[name='clear']").click(function () { - $("#pressure-set")[0].reset(); + $("#pressure-controls")[0].reset(); + $("#pressure-result").text(""); }); $("#pressure-controls input[name='zero']").click(function () { @@ -103,6 +107,7 @@
+
@@ -133,6 +138,7 @@
  • Home
  • Experiment control
  • Experiment graphs
  • +
  • Experiment data (live)
  • Experiment data
  • Pin debugging
  • Help
  • @@ -177,7 +183,6 @@  

    -

    @@ -234,46 +239,6 @@

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Link
    -
    -
    -