From bb08f870d985ad386356d0684667596582146c14 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 8 May 2020 15:48:01 -0400 Subject: make sure custom ID header/id changes with zmN app versions --- www/js/MontageCtrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/js/MontageCtrl.js') diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index ca6328ea..2f449896 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -976,7 +976,7 @@ angular.module('zmApp.controllers') 'selection': val }) } - $scope.tempZMGroups.unshift({'name':$translate.instant('kNone'), 'selection':false}); + $scope.tempZMGroups.unshift({'name':$translate.instant('kAll'), 'selection':false}); $rootScope.zmPopup = $ionicPopup.show({ @@ -1000,7 +1000,7 @@ angular.module('zmApp.controllers') var ld = NVR.getLogin(); var old_ZMGroupNames = ld.currentZMGroupNames; ld.currentZMGroupNames = []; - if (!$scope.tempZMGroups[0].selection) { // None is not selected + if (!$scope.tempZMGroups[0].selection) { // All is not selected for (var i=1; i <$scope.tempZMGroups.length; i++) { if ($scope.tempZMGroups[i].selection) ld.currentZMGroupNames.push($scope.tempZMGroups[i].name); -- cgit v1.2.3