lsc 2 anni fa
parent
commit
4549ef1cd5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)})
                 }
             }
         }