lsc před 2 roky
rodič
revize
4549ef1cd5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      js/Desktop/DeskTop.js

+ 1 - 1
js/Desktop/DeskTop.js

@@ -3912,7 +3912,7 @@ U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
                         $(fileInput).val('');
                     });
                 }else if(type == '3'){
-                    window.h.app.updateScene({elements:JSON.parse(JSON.parse(xmlhttp.response)[0][0].text)})
+                    _iframe.contentWindow.h.app.updateScene({elements:JSON.parse(JSON.parse(xmlhttp.response)[0][0].text)})
                 }
             }
         }