diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-05-08 15:48:01 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-05-08 15:48:01 -0400 |
| commit | bb08f870d985ad386356d0684667596582146c14 (patch) | |
| tree | 2f04b219261095030aaa1b1a3ae98e7345bc8c3b /www/js/MontageCtrl.js | |
| parent | 46560c0d0a0a8f3cc457d39c9a5eadfce92228cf (diff) | |
make sure custom ID header/id changes with zmN app versions
Diffstat (limited to 'www/js/MontageCtrl.js')
| -rw-r--r-- | www/js/MontageCtrl.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
