Skip to content

Commit 4b8f862

Browse files
author
mreishman
committed
small chagnesto led logic
1 parent 3903fed commit 4b8f862

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/js/main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ function pollTwo(all, counterForSaveNew)
144144
{
145145
counterForSave = numberOfLogs+1;
146146
var arrayOfFilesLength = arrayOfFiles.length
147+
//Change ALL leds to yellow
148+
$(".led-green").hide();
149+
$(".led-red").hide();
150+
$(".led-yellow").css("display","inline-block");
147151
for(var i = 0; i < arrayOfFilesLength; i++)
148152
{
149153
var boolForRun = true;
@@ -164,7 +168,6 @@ function pollTwo(all, counterForSaveNew)
164168
$("."+arrayOfFiles[i]["Name"]+" .loadingSpinnerHeader").css('display', 'inline-block');
165169
$("."+arrayOfFiles[i]["Name"]+" .warningSpanHeader").css('display','none');
166170
$("."+arrayOfFiles[i]["Name"]+" .refreshImageDevBox").css('display', 'none');
167-
switchToColorLed(arrayOfFiles[i]["Name"], "yellow");
168171
tryHTTPForPollRequest(i);
169172
}
170173
else

0 commit comments

Comments
 (0)