Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1951

Page becomes blank after detaching a modal window having an iframe loaded with PDF in IE 10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.5
    • 6.5.5
    • Browser Issue
    • Security Level: Jimmy
    • IE 10 (Update Version: 10.0.9); Adobe Acrobat Reader XI 11.0.4

    • None

      A reproducible sample is attached below.

      <zk>
          <window id="win1" height="400px" width="600px">
              <button label="Show first dialog to start dialog with iframe" onClick="AnotherDialog.doModal(); AnotherDialog.setVisible(true);"/>
          </window>
      
          <window id="AnotherDialog" height="400px" width="600px" visible="false">
              <button label="Show Dialog 1 with IFrame" onClick="mainDlg.doModal(); mainDlg.setVisible(true);" />
              <button label="Close me " onClick="AnotherDialog.detach();" />
          </window>
      
          <window width="700px" height="550px" style="border: 1px solid gray" title="pdf test for IE 10" id="mainDlg" visible="false" parent="${AnotherDialog}">
              <window id="win2" title="load a pdf into frame, then close me!" width="650px" height="480px">
                  <vbox hflex="1" vflex="1">
                      <iframe id="iframe" src="http://www.zkoss.org" hflex="1" vflex="10" style="border: 1px solid gray" />
      
                      <button upload="true" label="Select pdf File" vflex="1"> 
                          <attribute name="onUpload"><![CDATA[ 
      						Object media = event.getMedia(); 
      						if (media != null) iframe.setContent(media); 
      					]]></attribute>
                      </button>
                  </vbox>
              </window>
      
              <button label="Click for close iframe dialog" onClick='mainDlg.detach();'/>
          </window>
      </zk>
      

            jumperchen jumperchen
            neillee neillee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: