|
@@ -2800,7 +2800,7 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
|
|
|
_iframe.contentWindow.document.body.appendChild(script1);
|
|
|
_iframe.contentWindow.document.body.appendChild(script2);
|
|
|
_iframe.contentWindow.document.body.appendChild(script4);
|
|
|
- U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
|
|
|
+ U.MD.O.W.getContent(cid, stage, task, tool, _userid, '2', _iframe)
|
|
|
})
|
|
|
} else {
|
|
|
_iframe.onload = () => {
|
|
@@ -2891,13 +2891,3 @@ U.MD.D.I.getEditorContent = function (iframe) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
|
|
|
- U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
|
|
|
- if (res.value[0].length > 0) {
|
|
|
- // resolve(res.value[0][0].text);
|
|
|
- iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
|
|
|
- $(fileInput).val('');
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
-}
|