From 00f03553dba01366de75fb4f14f7fbb65b8291ba Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 7 May 2014 17:23:54 +0200 Subject: [PATCH] Prevent status change after connected Congratulations --- js/ConnectingToNetworkPage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ConnectingToNetworkPage.js b/js/ConnectingToNetworkPage.js index b3aabdb..f3a2f8a 100644 --- a/js/ConnectingToNetworkPage.js +++ b/js/ConnectingToNetworkPage.js @@ -133,7 +133,9 @@ console.log(" found connected box"); _statusField.html("Connected to "+_pageData.ssid); _actionField.html("Congratulations the box is connected to "+_pageData.ssid+". You will be redirected in a moment..."); - _actionField.attr("class","info"); + _actionField.attr("class","info"); + // prevent status changes by wired box + _networkAPI.stopAutoRefresh(); setTimeout(function () { // redirect to it's box page