X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fstatic%2Fmctx.gui.js;h=82f823cccebac137c102c43099cc253c87d3d082;hb=b689ffa3feec695339b9946a4a36c928da7114eb;hp=a9e8ae7b2b1f7339376a58a6822c382b20f4dfa3;hpb=5fd0fd1a48e49e71f9fb8e0d634d4834c451914f;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/static/mctx.gui.js b/testing/MCTXWeb/public_html/static/mctx.gui.js index a9e8ae7..82f823c 100644 --- a/testing/MCTXWeb/public_html/static/mctx.gui.js +++ b/testing/MCTXWeb/public_html/static/mctx.gui.js @@ -22,7 +22,8 @@ mctx.sensors = { 2 : {name : "Strain gauge 3"}, 3 : {name : "Strain gauge 4"}, 4 : {name : "Pressure sensor 1"}, - 5 : {name : "Pressure sensor 2"} + 5 : {name : "Pressure sensor 2"}, + 6 : {name : "Pressure sensor 3"} }; mctx.actuators = { @@ -194,4 +195,8 @@ $.fn.setErrorLog = function () { }; updater(); -}; \ No newline at end of file +}; + +$(document).ajaxError(function (event, jqXHR) { + //console.log("AJAX query failed with: " + jqXHR.status + " (" + jqXHR.statusText + ")"); +}); \ No newline at end of file