소스 검색

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();