Fixed open doc without preview
This commit is contained in:
parent
be7c2e94c9
commit
b20e5de5c4
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user