Skip to content

Commit

Permalink
fix: create pdf from docxf instead of oform
Browse files Browse the repository at this point in the history
  • Loading branch information
rivexe committed Mar 14, 2024
1 parent 4376151 commit 09b72b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ import NewDocxfSvg from "!!raw-loader!../img/new-docxf.svg";
};

OCA.Onlyoffice.CreateFormClickExec = async function (file, view, dir) {
var name = file.basename.replace(/\.[^.]+$/, ".oform");
var name = file.basename.replace(/\.[^.]+$/, ".pdf");
var context = {
dir: dir,
view: view
Expand Down

0 comments on commit 09b72b5

Please sign in to comment.