Install update fix

This commit is contained in:
peteruithoven 2015-06-17 14:47:49 +02:00
parent ef141ea859
commit df9901ce5e
1 changed files with 4 additions and 0 deletions

View File

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