Browse Source

Fixed open doc without preview

master
Igor Zhukov 10 years ago
parent
commit
b20e5de5c4
  1. 2
      app/js/directives.js

2
app/js/directives.js

@ -209,7 +209,7 @@ angular.module('myApp.directives', ['myApp.filters']) @@ -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…
Cancel
Save