Compare commits

...

2 Commits

Author SHA1 Message Date
de9f27465f Merge pull request #348 from ONLYOFFICE/feature/add-oform-parameter
nodejs: disable oform module
2023-02-17 16:10:02 +05:00
b765d43612 nodejs: disable oform module 2023-01-31 18:01:46 +05:00

View File

@ -232,6 +232,11 @@
config.events.onRequestSaveAs = onRequestSaveAs;
}
if (new URL(window.location).searchParams.get("oform") == "false") {
config.document.options = config.document.options || {};
config.document.options["oform"] = false;
}
var connectEditor = function () {
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")