Fix Configure Timer Gui webinterface (#5568)
Fix Configure Timer Gui webinterface (#5568)
This commit is contained in:
parent
c58b40e838
commit
76eec9b8ab
@ -620,7 +620,7 @@ const char HTTP_TIMER_SCRIPT5[] PROGMEM =
|
||||
"function it(){" // Initialize elements and select first tab
|
||||
"var b,i,o,s;"
|
||||
"pt=eb('t0').value.split(',').map(Number);" // Get parameters from hidden area to array
|
||||
"s='';for(i=0;i<" STR(MAX_TIMERS) ";i++){b='';if(0==i){b=\" id='dP'\";}s+=\"<button type='button' class='tl' onclick='ot(\"+i+\",this)'\"+b+\">\"+(i+1)+\"</button>\"}"
|
||||
"s='';for(i=0;i<16;i++){b='';if(0==i){b=\" id='dP'\";}s+=\"<button type='button' class='tl' onclick='ot(\"+i+\",this)'\"+b+\">\"+(i+1)+\"</button>\"}"
|
||||
"eb('bt').innerHTML=s;" // Create tabs
|
||||
"if(%d>0){" // Create Output and Action drop down boxes
|
||||
"eb('oa').innerHTML=\"<b>" D_TIMER_OUTPUT "</b> <span><select style='width:60px;' id='d1' name='d1'></select></span> <b>" D_TIMER_ACTION "</b> <select style='width:99px;' id='p1' name='p1'></select>\";"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user