Explorar el Código

reenable status timer when rebooting

Christian Herzog hace 5 años
padre
commit
220f039be3
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      components/wifi-manager/code.js

+ 4 - 1
components/wifi-manager/code.js

@@ -213,7 +213,6 @@ $(document).ready(function(){
                     },
                     complete: function(response) {
                     	console.log('reboot call completed');
-
                     }
                 });
             }            
@@ -427,6 +426,10 @@ $(document).ready(function(){
         }
     });
 
+    $('#boot-button').on("click", function(){
+        enableStatusTimer = true;
+    });
+
     //first time the page loads: attempt to get the connection status and start the wifi scan
     refreshAP();
     getConfig();