File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ $INCLUDE[header.inc]$
13
13
</td ></tr ></table ></div ></td ></tr >
14
14
<tr ><td style =" padding :0px ;" ><div id =" Bed" style =" visibility :hidden ;height :0px ;" >
15
15
<table ><tr ><td ><label >Bed:</label ></td >
16
- <td id =" data_bed" ></td ><td >0<input id =" rangeinputbed" type =" range" min =0 max =130 onchange =" Updatenumber('bed');" >130</td >
16
+ <td id =" data_bed" style = " overflow : hidden ; " ></td ><td >0<input id =" rangeinputbed" type =" range" min =0 max =130 onchange =" Updatenumber('bed');" >130</td >
17
17
<td ><input class =" form-control" id =" numberinputbed" type =" number" min =0 max =270 step =1 value =0 onchange =" Updaterange('bed');" ></td ><td >° ; C
18
18
<input type =" button" class =" btn btn-primary" value =" Set" onclick =" SendValue( 'M140 S', 'bed');" >
19
19
</td ></tr ></table ></div ></td ></tr >
Original file line number Diff line number Diff line change @@ -2561,6 +2561,7 @@ void handle_web_interface_status()
2561
2561
}
2562
2562
buffer2send+=" ]" ;
2563
2563
buffer2send+=" }" ;
2564
+ web_interface->WebServer .sendHeader (" Cache-Control" , " no-cache" );
2564
2565
web_interface->WebServer .send (200 , " application/json" ,buffer2send);
2565
2566
}
2566
2567
@@ -2651,6 +2652,7 @@ void handleUpdate(){
2651
2652
jsonfile+=intTostr (web_interface->_upload_status );
2652
2653
jsonfile+=" \" }" ;
2653
2654
// send status
2655
+ web_interface->WebServer .sendHeader (" Cache-Control" , " no-cache" );
2654
2656
web_interface->WebServer .send (200 , " application/json" , jsonfile);
2655
2657
// if success restart
2656
2658
if (web_interface->_upload_status ==UPLOAD_STATUS_SUCCESSFUL)web_interface->restartmodule =true ;
@@ -2705,6 +2707,7 @@ void handleFileList() {
2705
2707
jsonfile+=" \" " ;
2706
2708
jsonfile+=" }" ;
2707
2709
path = " " ;
2710
+ web_interface->WebServer .sendHeader (" Cache-Control" , " no-cache" );
2708
2711
web_interface->WebServer .send (200 , " application/json" , jsonfile);
2709
2712
}
2710
2713
@@ -2722,6 +2725,7 @@ void handleSDFileList() {
2722
2725
jsonfile+=" \" }" ;
2723
2726
}
2724
2727
jsonfile+=" ]" ;
2728
+ web_interface->WebServer .sendHeader (" Cache-Control" , " no-cache" );
2725
2729
web_interface->WebServer .send (200 , " application/json" , jsonfile);
2726
2730
}
2727
2731
You can’t perform that action at this time.
0 commit comments