From 963cc222dd6f17140d82d4708d21fc4bdd6e06fc Mon Sep 17 00:00:00 2001 From: H Plato Date: Mon, 19 Nov 2018 17:52:35 -0700 Subject: [PATCH] v2.0.820 - fixed color sliders on all objects --- web/ia7/include/javascript.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/ia7/include/javascript.js b/web/ia7/include/javascript.js index cf741ebab..747b861db 100644 --- a/web/ia7/include/javascript.js +++ b/web/ia7/include/javascript.js @@ -1,5 +1,5 @@ -var ia7_ver = "v2.0.810"; +var ia7_ver = "v2.0.820"; var coll_ver = ""; var entity_store = {}; //global storage of entities var json_store = {}; @@ -2540,6 +2540,7 @@ var graph_rrd = function(start,group,time) { var previousPoint = null; $("#rrd-graph").bind("plothover", function(event, pos, item) { +//tofixed caused a problem $("#x").text(pos.x.toFixed(2)); $("#y").text(pos.y.toFixed(2)); if (item) { @@ -3552,6 +3553,10 @@ var create_state_modal = function(entity) { var name = entity; if (json_store.objects[entity].label !== undefined) name = json_store.objects[entity].label; $('#slider').remove(); + $('#sliderR').remove(); + $('#sliderG').remove(); + $('#sliderB').remove(); + // $('#control').modal('show'); //make sure the modal is centered on all devices