X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fstatic%2Fmctx.control.js;h=d3b5348eeb9e563368d00711b06471a654c3403e;hb=7e9d726ccd53626251e56b92c8eec47772bfe0f9;hp=1d5c744d6066f433e094c472d93e7a138f8edc07;hpb=8be554d787c35f80ffd91d77dba87543ff9eda6f;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/static/mctx.control.js b/testing/MCTXWeb/public_html/static/mctx.control.js index 1d5c744..d3b5348 100644 --- a/testing/MCTXWeb/public_html/static/mctx.control.js +++ b/testing/MCTXWeb/public_html/static/mctx.control.js @@ -47,6 +47,7 @@ function setSampleRate(id, val, result) { $.fn.loadSensorList = function (result, input) { var select = this; + select.empty(); //Reset list $.ajax({ url : mctx.api + 'identify', @@ -56,7 +57,7 @@ $.fn.loadSensorList = function (result, input) { return; } for (var id in data.sensors) { - var option = $("