From 24677360c6364221e6701908734ad15f44e7a26e Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 5 Nov 2017 19:29:59 -0500 Subject: #555 - make sure fingerprint auth is not called if auto montage reload --- www/js/MontageCtrl.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'www/js/MontageCtrl.js') 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, -- cgit v1.2.3