lsc 2 years ago
parent
commit
5e4e3b2796
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/Desktop/DeskTop.js

+ 1 - 1
js/Desktop/DeskTop.js

@@ -3836,7 +3836,7 @@ U.MD.D.I.setContents = function (cid, s, task, t, uid, type, loading,span) {
     }
     xmlhttp.onreadystatechange = function () {
         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);
                 // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
                 //     $(fileInput).val('');