From b20e5de5c426f70398040b894bbc872379694688 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 11 Nov 2014 13:55:22 +0300 Subject: [PATCH] Fixed open doc without preview --- app/js/directives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); };