force refresh after update

This commit is contained in:
Kasra Bigdeli
2017-12-18 17:28:34 -08:00
parent 5e36e42306
commit 2b375d8ed3
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -1524,6 +1524,10 @@ function SettingsCtrl($scope, $cookieStore, $rootScope, pageDefinitions,
captainToast.showToastSuccess('Update process has successfully started...');
setTimeout(function () {
window.location.reload(true);
}, 6000);
$scope.loadingState.enabled = false;
});
@@ -60,6 +60,10 @@ function SettingsCtrl($scope, $cookieStore, $rootScope, pageDefinitions,
captainToast.showToastSuccess('Update process has successfully started...');
setTimeout(function () {
window.location.reload(true);
}, 6000);
$scope.loadingState.enabled = false;
});