diff --git a/www/plugins/es/js/controllers/common-controllers.js b/www/plugins/es/js/controllers/common-controllers.js index 0dd165c00b5f5db6301851e7a437c4d47f876434..a6af511a0f67af8cc1be3a0f9ac5bdad1479d90c 100644 --- a/www/plugins/es/js/controllers/common-controllers.js +++ b/www/plugins/es/js/controllers/common-controllers.js @@ -37,7 +37,6 @@ function ESPicturesEditController($scope, UIUtils, $q, Device) { src: "data:image/png;base64," + imageData, isnew: true // use to prevent visibility hidden (if animation) }); - $scope.$apply(); }) .catch(UIUtils.onError('ERROR.TAKE_PICTURE_FAILED')); }; diff --git a/www/plugins/es/js/controllers/group-controllers.js b/www/plugins/es/js/controllers/group-controllers.js index 60cab476f7189580827f9c15b5cfb3eb4a707d79..4d7c05a52b543f8a1f25183c8b70e2e396ff6c03 100644 --- a/www/plugins/es/js/controllers/group-controllers.js +++ b/www/plugins/es/js/controllers/group-controllers.js @@ -358,7 +358,6 @@ function ESGroupEditController($scope, esGroup, UIUtils, $state, $q, Device, Device.camera.getPicture() .then(function(imageData) { $scope.pictures.push({src: "data:image/png;base64," + imageData}); - $scope.$apply(); }) .catch(UIUtils.onError('ERROR.TAKE_PICTURE_FAILED')); }; diff --git a/www/plugins/es/js/controllers/registry-controllers.js b/www/plugins/es/js/controllers/registry-controllers.js index a33ceef00554b07e2fbd9d467a46a51334065b7a..b8be2f54753838218147e5807bfdf3417d3e499e 100644 --- a/www/plugins/es/js/controllers/registry-controllers.js +++ b/www/plugins/es/js/controllers/registry-controllers.js @@ -669,7 +669,6 @@ function ESRegistryRecordEditController($scope, esRegistry, UIUtils, $state, $q, Device.camera.getPicture() .then(function(imageData) { $scope.pictures.push({src: "data:image/png;base64," + imageData}); - $scope.$apply(); }) .catch(UIUtils.onError('ERROR.TAKE_PICTURE_FAILED')); };