Skip to content

Commit

Permalink
fix opening new tab (37f88f4)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed Jun 26, 2024
1 parent 59b80b0 commit 88ec7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
let fileName = response.name;
let extension = OCA.Onlyoffice.GetFileExtension(fileName);
let forceEdit = OCA.Onlyoffice.setting.formats[extension].fillForms;
OCA.Onlyoffice.OpenEditor(response.id, dir, fileName, winEditor, forceEdit);
OCA.Onlyoffice.OpenEditor(response.id, dir, fileName, 0, winEditor, forceEdit);
}

OCA.Onlyoffice.context = { fileList: fileList };
Expand Down

0 comments on commit 88ec7a3

Please sign in to comment.