lsc 10 meses atrás
pai
commit
e528c34e7c
1 arquivos alterados com 36 adições e 36 exclusões
  1. 36 36
      js/Desktop/DeskTop.js

+ 36 - 36
js/Desktop/DeskTop.js

@@ -6743,15 +6743,15 @@ U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
                 _iframe.contentWindow.document.body.appendChild(script4);
                 U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
             };
-            if (onloadListener) {
-                try {
-                    _iframe.src += "?cocorobo="+new Date().getTime()
-                    _iframe.contentWindow.document.location.reload()
-                } catch (error) {
-                }
-            } else {
-                _iframe.contentDocument.location.reload()
-            }
+            // if (onloadListener) {
+            //     try {
+            //         _iframe.src += "?cocorobo="+new Date().getTime()
+            //         _iframe.contentWindow.document.location.reload()
+            //     } catch (error) {
+            //     }
+            // } else {
+            //     _iframe.contentDocument.location.reload()
+            // }
         } else {
             _iframe.onload = () => {
                 _iframe.contentWindow.document.body.appendChild(script1);
@@ -7205,15 +7205,15 @@ U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, stud
                 _iframe.contentWindow.document.body.appendChild(script4);
                 U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
             };
-            if (onloadListener) {
-                try {
-                    _iframe.src += "?cocorobo="+new Date().getTime()
-                    _iframe.contentWindow.document.location.reload()
-                } catch (error) {
-                }
-            } else {
-                _iframe.contentDocument.location.reload()
-            }
+            // if (onloadListener) {
+            //     try {
+            //         _iframe.src += "?cocorobo="+new Date().getTime()
+            //         _iframe.contentWindow.document.location.reload()
+            //     } catch (error) {
+            //     }
+            // } else {
+            //     _iframe.contentDocument.location.reload()
+            // }
         } else {
             _iframe.onload = () => {
                 _iframe.contentWindow.document.body.appendChild(script1);
@@ -7661,15 +7661,15 @@ U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, stu
                 _iframe.contentWindow.document.body.appendChild(script4);
                 U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
             };
-            if (onloadListener) {
-                try {
-                    _iframe.src += "?cocorobo="+new Date().getTime()
-                    _iframe.contentWindow.document.location.reload()
-                } catch (error) {
-                }
-            } else {
-                _iframe.contentDocument.location.reload()
-            }
+            // if (onloadListener) {
+            //     try {
+            //         _iframe.src += "?cocorobo="+new Date().getTime()
+            //         _iframe.contentWindow.document.location.reload()
+            //     } catch (error) {
+            //     }
+            // } else {
+            //     _iframe.contentDocument.location.reload()
+            // }
         } else {
             _iframe.onload = () => {
                 _iframe.contentWindow.document.body.appendChild(script1);
@@ -8657,15 +8657,15 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
             let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
                 U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
             })
-            if (onloadListener) {
-                try {
-                    _iframe.src += "?cocorobo="+new Date().getTime()
-                    _iframe.contentWindow.document.location.reload()
-                } catch (error) {
-                }
-            } else {
-                _iframe.contentDocument.location.reload()
-            }
+            // if (onloadListener) {
+            //     try {
+            //         _iframe.src += "?cocorobo="+new Date().getTime()
+            //         _iframe.contentWindow.document.location.reload()
+            //     } catch (error) {
+            //     }
+            // } else {
+            //     _iframe.contentDocument.location.reload()
+            // }
         } else if (str == 'CocoPi') {
             _iframe = _formdiv.querySelector('iframe')
             let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {