|
|
@ -1258,6 +1258,10 @@ angular.module('myApp.controllers', []) |
|
|
|
$scope.photo = AppPhotosManager.wrapForFull($scope.photoID); |
|
|
|
$scope.photo = AppPhotosManager.wrapForFull($scope.photoID); |
|
|
|
$scope.nav = {}; |
|
|
|
$scope.nav = {}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.download = function () { |
|
|
|
|
|
|
|
AppPhotosManager.downloadPhoto($scope.photoID); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
if (!$scope.messageID || Config.Navigator.mobile) { |
|
|
|
if (!$scope.messageID || Config.Navigator.mobile) { |
|
|
|
$scope.nav.next = function () { |
|
|
|
$scope.nav.next = function () { |
|
|
|
$modalInstance.close(); |
|
|
|
$modalInstance.close(); |
|
|
@ -1280,10 +1284,6 @@ angular.module('myApp.controllers', []) |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.download = function () { |
|
|
|
|
|
|
|
AppPhotosManager.downloadPhoto($scope.photoID); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (Config.Navigator.mobile) { |
|
|
|
if (Config.Navigator.mobile) { |
|
|
|
$scope.canForward = true; |
|
|
|
$scope.canForward = true; |
|
|
|
return; |
|
|
|
return; |
|
|
|