瀏覽代碼

reenable status timer when rebooting

Christian Herzog 5 年之前
父節點
當前提交
220f039be3
共有 1 個文件被更改,包括 4 次插入1 次删除
  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();