lsc 2 роки тому
батько
коміт
cc22786e5e
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      js/Desktop/DeskTop.js

+ 2 - 1
js/Desktop/DeskTop.js

@@ -3921,7 +3921,6 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
             })
         } else if (str == 'mind') {
             U.UF.DL.iframeLoad(_iframe, function () {
-                ;
                 U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
             })
         } else if (str == 'whiteboard') {
@@ -4008,6 +4007,8 @@ U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
                 } else if (type == '3') {
                     iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
                 }
+            }else {
+                iframe.contentWindow.h.app.updateScene({ elements: [] })
             }
         }
     }