Open Editor in the same tab
This commit is contained in:
parent
0332594244
commit
534c288f0a
@ -51,7 +51,7 @@ var odfViewer = {
|
|||||||
|
|
||||||
onEdit : function(){
|
onEdit : function(){
|
||||||
var fileId = FileActions.currentFile.parent().attr('data-id');
|
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) {
|
onView: function(filename) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user