mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: do not check oform param in ie11
This commit is contained in:
@ -232,7 +232,10 @@
|
||||
config.events.onRequestSaveAs = onRequestSaveAs;
|
||||
}
|
||||
|
||||
if (new URL(window.location).searchParams.get("oform") == "false") {
|
||||
try {
|
||||
var oformParam = new URL(window.location).searchParams.get("oform");
|
||||
} catch (e) {}
|
||||
if (oformParam == "false") {
|
||||
config.document.options = config.document.options || {};
|
||||
config.document.options["oform"] = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user