|
@@ -3836,7 +3836,7 @@ U.MD.D.I.setContents = function (cid, s, task, t, uid, type, loading,span) {
|
|
}
|
|
}
|
|
xmlhttp.onreadystatechange = function () {
|
|
xmlhttp.onreadystatechange = function () {
|
|
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
|
|
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
|
|
- if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
|
|
|
|
|
|
+ if (xmlhttp.response) {
|
|
// resolve(res.value[0][0].text);
|
|
// resolve(res.value[0][0].text);
|
|
// iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
|
|
// iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
|
|
// $(fileInput).val('');
|
|
// $(fileInput).val('');
|