Skip to content

Commit

Permalink
fileClickExec without winEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
Antipkin-A committed Dec 11, 2023
1 parent 155d2d4 commit 93189ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ import NewDocxfSvg from "!!raw-loader!../img/new-docxf.svg";
};

OCA.Onlyoffice.FileClickExec = async function (file, view, dir) {
var winEditor = !OCA.Onlyoffice.setting.sameTab ? document : null;
OCA.Onlyoffice.OpenEditor(file.fileid, dir, file.basename, 0, winEditor);
OCA.Onlyoffice.OpenEditor(file.fileid, dir, file.basename, 0);

OCA.Onlyoffice.context = {
fileName: file.basename,
Expand Down

0 comments on commit 93189ad

Please sign in to comment.