Skip to content

Commit

Permalink
v2.0.820 - fixed color sliders on all objects
Browse files Browse the repository at this point in the history
  • Loading branch information
hplato committed Nov 20, 2018
1 parent 334d69f commit 963cc22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion web/ia7/include/javascript.js
Original file line number Diff line number Diff line change
@@ -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 = {};
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 963cc22

Please sign in to comment.