mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 01:53:48 +01:00
Merge branch 'develop'
This commit is contained in:
commit
67feeb0dd5
@ -53,14 +53,15 @@
|
||||
//console.log(" _boxData: ",_boxData);
|
||||
|
||||
_title.text(_boxData.wifiboxid);
|
||||
setNetworkStatus(NetworkAPI.STATUS.CONNECTED);
|
||||
|
||||
var drawLink = (_boxData.link)? _boxData.link : boxURL;
|
||||
_page.find("#drawItem a").attr("href",drawLink);
|
||||
|
||||
_networkAPI.init(boxURL);
|
||||
retrieveNetworkStatus();
|
||||
_updateAPI.init(boxURL);
|
||||
|
||||
setNetworkStatus(NetworkAPI.STATUS.CONNECTED);
|
||||
retrieveNetworkStatus();
|
||||
});
|
||||
$.mobile.document.on( "pagebeforehide", PAGE_ID, function( event, data ) {
|
||||
clearTimeout(_retryRetrieveStatusDelay);
|
||||
|
@ -87,6 +87,7 @@
|
||||
}
|
||||
break;
|
||||
case UpdateAPI.STATUS.INSTALLED:
|
||||
_installing = false;
|
||||
_updateAPI.stopAutoRefresh();
|
||||
clearTimeout(_updatedRedirectDelay);
|
||||
_updatedRedirectDelay = setTimeout(function () {
|
||||
@ -102,6 +103,9 @@
|
||||
}
|
||||
},UPDATED_REDIRECT_DELAY);
|
||||
break;
|
||||
case UpdateAPI.STATUS.INSTALL_FAILED:
|
||||
_installing = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
function updatePage(data) {
|
||||
|
Loading…
Reference in New Issue
Block a user