Open Editor in the same tab

This commit is contained in:
Victor Dubiniuk 2014-06-13 17:52:32 +03:00
parent 0332594244
commit 534c288f0a

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) {