lsc 1 year ago
parent
commit
d089806f60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/Desktop/DeskTop.js

+ 1 - 1
js/Desktop/DeskTop.js

@@ -6741,7 +6741,7 @@ U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe)
                 }
                 }
             } else {
             } else {
                 if (atool == 57) {
                 if (atool == 57) {
-                    iframe.blockpy.components.editor.blockly.clear();
+                    iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
                 }
                 }
             }
             }
         }, [], { "type": "POST", "withCredentials": true });
         }, [], { "type": "POST", "withCredentials": true });