Refresh right away on manual locking
This commit is contained in:
@@ -9,12 +9,8 @@ angular.module('app.frontend')
|
|||||||
}
|
}
|
||||||
|
|
||||||
$rootScope.lockApplication = function() {
|
$rootScope.lockApplication = function() {
|
||||||
// Render first to show lock screen immediately, then refresh
|
|
||||||
$scope.needsUnlock = true;
|
|
||||||
// Reloading wipes current objects from memory
|
// Reloading wipes current objects from memory
|
||||||
setTimeout(function () {
|
window.location.reload();
|
||||||
window.location.reload();
|
|
||||||
}, 100);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
|
|||||||
Reference in New Issue
Block a user