0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-25 01:53:48 +01:00

Install update fix

This commit is contained in:
peteruithoven 2015-06-17 14:47:49 +02:00
parent ef141ea859
commit df9901ce5e

View File

@ -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) {