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