From df9901ce5ea932dca90c65495d805c8506e38fbd Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 17 Jun 2015 14:47:49 +0200 Subject: [PATCH] Install update fix --- js/UpdatingPage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/UpdatingPage.js b/js/UpdatingPage.js index ffe227c..18a9870 100644 --- a/js/UpdatingPage.js +++ b/js/UpdatingPage.js @@ -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) {