diff options
| author | = <=> | 2019-03-11 14:43:58 -0400 |
|---|---|---|
| committer | = <=> | 2019-03-11 14:43:58 -0400 |
| commit | 42c6115f50d1455d1ef126edbbbea17125bb8d41 (patch) | |
| tree | 821d3dd87486b359588519d20e4eb77a20de1e97 /www | |
| parent | f43e99defd7b484d161c904772e7241c95379d0a (diff) | |
#791 handle loader text, tests for camera save
Diffstat (limited to 'www')
| -rw-r--r-- | www/js/MonitorModalCtrl.js | 5 | ||||
| -rw-r--r-- | www/templates/monitors-modal.html | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/www/js/MonitorModalCtrl.js b/www/js/MonitorModalCtrl.js index 4fb320bb..fb751161 100644 --- a/www/js/MonitorModalCtrl.js +++ b/www/js/MonitorModalCtrl.js @@ -1026,7 +1026,7 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ $ionicLoading.show({ template: $translate.instant('kDone'), noBackdrop: true, - duration: 1000 + duration: 3000 }); NVR.debug("ModalCtrl:Photo saved successfuly"); } @@ -1035,7 +1035,7 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ $ionicLoading.show({ template: $translate.instant('kErrorSave'), noBackdrop: true, - duration: 2000 + duration: 3000 }); NVR.log("Error saving image: " + e); //console.log("***ERROR"); @@ -1254,6 +1254,7 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ } else { $ionicLoading.hide(); + //SaveSuccess(); $rootScope.zmPopup = SecuredPopups.show('alert', { title: $translate.instant('kNote'), diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 998dc6c3..6c989a0b 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -140,7 +140,7 @@ </li> <li ng-if="isToggleListMenu"> - <a href="" ng-click="saveImageToPhoneWithPerms(monitorId)"> + <a id='testaut_monitormodal_camera_button' href="" ng-click="saveImageToPhoneWithPerms(monitorId)"> <i class="icon ion-ios-camera"></i> </a> </li> |
