提交 09ebc746 编写于 作者: F fancy

内容管理移动端编辑ios端

上级 d273d30b
......@@ -165,7 +165,7 @@ if (!window.layout || !layout.desktop || !layout.addReady) {
} else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) {
window.webkit.messageHandlers.openO2CmsDocument.postMessage({
"docId": options.documentId,
"docTitle": title
"docTitle": title, "options": JSON.stringify(options)
});
} else {
window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : ""));
......
......@@ -344,7 +344,7 @@ o2.addReady(function () {
} else if (window.o2android && window.o2android.openO2CmsDocument) {
window.o2android.openO2CmsDocument(options.documentId, title);
} else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) {
window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title });
window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title, "options": JSON.stringify(options) });
} else {
window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : ""));
}
......
......@@ -291,7 +291,7 @@ o2.addReady(function () {
} else if (window.o2android && window.o2android.openO2CmsDocument) {
window.o2android.openO2CmsDocument(options.documentId, title);
} else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) {
window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title });
window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title, "options": JSON.stringify(options) });
} else {
window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : ""));
}
......
......@@ -128,7 +128,7 @@ o2.xDesktop.requireApp = function (module, clazz, callback, async) {
} else if (window.o2android && window.o2android.openO2CmsDocument) {
window.o2android.openO2CmsDocument(options.documentId, title);
} else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) {
window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title });
window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title, "options": JSON.stringify(options) });
} else {
window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : ""));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册