some code removed
This commit is contained in:
parent
855efcd572
commit
67d82c4af6
|
@ -63,21 +63,6 @@
|
||||||
volumes.room1 = ui.value;
|
volumes.room1 = ui.value;
|
||||||
dataChanged = true;
|
dataChanged = true;
|
||||||
} });
|
} });
|
||||||
|
|
||||||
$("#slider2").slider({ min: 0, max: 100, slide: function(event, ui) {
|
|
||||||
volumes.room2 = ui.value;
|
|
||||||
dataChanged = true;
|
|
||||||
} });
|
|
||||||
|
|
||||||
$("#slider3").slider({ min: 0, max: 100, slide: function(event, ui) {
|
|
||||||
volumes.room3 = ui.value;
|
|
||||||
dataChanged = true;
|
|
||||||
} });
|
|
||||||
|
|
||||||
$("#slider4").slider({ min: 0, max: 100, slide: function(event, ui) {
|
|
||||||
volumes.room4 = ui.value;
|
|
||||||
dataChanged = true;
|
|
||||||
} });
|
|
||||||
$("#tabs").tabs();
|
$("#tabs").tabs();
|
||||||
$("#v-tabs").tabs().addClass('ui-tabs-vertical');
|
$("#v-tabs").tabs().addClass('ui-tabs-vertical');
|
||||||
$(".lampel .circle").click(function() {
|
$(".lampel .circle").click(function() {
|
||||||
|
@ -106,7 +91,7 @@
|
||||||
$.getJSON('/control/devices', function(data) {
|
$.getJSON('/control/devices', function(data) {
|
||||||
devices = data;
|
devices = data;
|
||||||
for(var i=0;i<devices.length;i++) {
|
for(var i=0;i<devices.length;i++) {
|
||||||
if(devices[i].type=="Par56Spot") {
|
if (devices[i].type == "Par56Spot") {
|
||||||
$('#par56select').append("<option name=" + devices[i].deviceId + ">" + devices[i].deviceName + "</option>");
|
$('#par56select').append("<option name=" + devices[i].deviceId + ">" + devices[i].deviceName + "</option>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue