diff --git a/app/js/directives.js b/app/js/directives.js index c7761ea7..feeedd35 100644 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -209,7 +209,7 @@ angular.module('myApp.directives', ['myApp.filters']) }; $scope.docOpen = function () { if (!$scope.document.withPreview) { - return $scope.download(); + return $scope.docSave(); } AppDocsManager.openDoc($scope.document.id, $scope.messageId); };