Open Editor in the same tab

pull/1/head
Victor Dubiniuk 10 years ago
parent 0332594244
commit 534c288f0a

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

Loading…
Cancel
Save