Merge pull request #279 from owncloud/same-tab-edit

Open Editor in the same tab
This commit is contained in:
VicDeo 2014-06-13 18:28:33 +03:00
commit 1897966366

View File

@ -51,7 +51,7 @@ var odfViewer = {
onEdit : function(){
var fileId = FileActions.currentFile.parent().attr('data-id');
window.open(OC.linkTo('documents', 'index.php') + '#' + fileId);
window.location = OC.linkTo('documents', 'index.php') + '#' + fileId;
},
onView: function(filename) {