Загрузка изображения из набора фреймов IE11 не выходит со страницы - PullRequest
0 голосов
/ 25 июня 2018

В IE 11 загрузка изображения не происходит, всегда загрузка только. Пожалуйста, найдите следующий код.

          if (typeof isaTop == 'function' && isaTop().header) {
             isaTop().header.busy(parent.form_input);
              myTop.location.href = request;
          }

function busy(frameObject) {

    try {
        with(frameObject.document){
            // get all the stylesheets from the header
            var allStylesheets = this.window.document.styleSheets;

            writeln("<html><head>");
            // add the css sheets
            for(var i = 0; i < allStylesheets.length; i++) {
                writeln('<link type="text/css" rel="stylesheet" href="' + allStylesheets[i].href + '" />\n');
            }
            // add the rest
            writeln("</head>\n<body><div id='busy'>\n" +
                "<img src='<%=WebUtil.getMimeURL(pageContext, "b2b/mimes/images/busy.gif") %>' alt='<isa:UCtranslate key="b2b.busy.message"/>' />" +
                "<p><isa:UCtranslate key="b2b.busy.message"/></p>" +
                "</div></body></html>");
        }
        frameObject.document.close();
    }
    catch (e) {}
}

Здесь parent.form_input означает передачу объекта набора кадров в listen.jsp, где находится busy.js.

 <frameset cols="*,15,0" id="fourthFS" border="0" frameborder="0" framespacing="0">
      <!--End of edit by Arshid to hide the history frame from startup of application-->
        <frameset rows="0,*" id="workFS" border="0" frameborder="0" framespacing="0">
          <frame name="documents" src="<isa:webappsURL name="/b2b/updateworkareanav.do" />" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" />
          <frame name="form_input" src="<isa:webappsURL name="/b2b/updatedocumentview.do?refresh=1" />"  frameborder="0" scrolling="auto" marginwidth="0" marginheight="0" title="<isa:translate key="b2b.frame.jsp.forminput"/>" />
        </frameset>
        <frame name="closer_history" src="<isa:webappsURL name="/b2b/closer_history.jsp" />" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" title="<isa:translate key="b2b.frame.jsp.closerhistory"/>" />
        <frame name="_history" src="<isa:webappsURL name="/b2b/history/updatehistory.do" />" frameborder="0" scrolling="auto" marginwidth="0" marginheight="0" title="<isa:translate key="b2b.frame.jsp.history"/>" />
        <noframes>
          <p>&nbsp;</p>
        </noframes>        
      </frameset>
...