mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
Revert "docxf and oform since v7.0"
This reverts commit beb9885b03.
# Conflicts:
# web/documentserver-example/php/doceditor.php
This commit is contained in:
@ -352,12 +352,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var сonnectEditor = function () {
|
var сonnectEditor = function () {
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -353,12 +353,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var сonnectEditor = function () {
|
var сonnectEditor = function () {
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -339,12 +339,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var сonnectEditor = function () {
|
var сonnectEditor = function () {
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -338,12 +338,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var сonnectEditor = function () {
|
var сonnectEditor = function () {
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -403,13 +403,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var connectEditor = function () {
|
var connectEditor = function () {
|
||||||
|
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
fixSize();
|
fixSize();
|
||||||
};
|
};
|
||||||
|
|||||||
@ -341,12 +341,6 @@
|
|||||||
config.events.onRequestSaveAs = onRequestSaveAs;
|
config.events.onRequestSaveAs = onRequestSaveAs;
|
||||||
};
|
};
|
||||||
|
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -336,13 +336,6 @@
|
|||||||
if (config.editorConfig.createUrl) {
|
if (config.editorConfig.createUrl) {
|
||||||
config.events.onRequestSaveAs = onRequestSaveAs;
|
config.events.onRequestSaveAs = onRequestSaveAs;
|
||||||
};
|
};
|
||||||
|
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
|
|
||||||
fixSize();
|
fixSize();
|
||||||
|
|||||||
@ -315,12 +315,6 @@
|
|||||||
config.events.onRequestSaveAs = onRequestSaveAs;
|
config.events.onRequestSaveAs = onRequestSaveAs;
|
||||||
};
|
};
|
||||||
|
|
||||||
if ((config.document.fileType === "docxf" || config.document.fileType === "oform")
|
|
||||||
&& DocsAPI.DocEditor.version().split(".")[0] < 7) {
|
|
||||||
innerAlert("Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user