summaryrefslogtreecommitdiff
path: root/www/js/MontageCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-11-05 19:29:59 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-11-05 19:29:59 -0500
commit24677360c6364221e6701908734ad15f44e7a26e (patch)
tree7cef67af5b8846b6f9f9094086e02479adec18d3 /www/js/MontageCtrl.js
parent6a55a1031809d84a2b0133a7246d131887461239 (diff)
#555 - make sure fingerprint auth is not called if auto montage reload
Diffstat (limited to 'www/js/MontageCtrl.js')
-rw-r--r--www/js/MontageCtrl.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index 46b8f83e..ed45c63a 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -141,8 +141,16 @@ angular.module('zmApp.controllers')
}
+ var ld = NVRDataModel.getLogin();
+ ld.reloadInMontage = true;
NVRDataModel.log ("Reloading view to keep memory in check...");
- $window.location.reload();
+ NVRDataModel.setLogin(ld)
+ .then (function() {$window.location.reload();});
+
+
+
+
+
/*$ionicHistory.nextViewOptions(
{
disableAnimate: true,