Opened 12 years ago
Closed 12 years ago
#9726 closed defect (invalid)
ContentPane: IE8 issue with iFrame not loaded in Contentpane
Reported by: | ghannes | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.3.2 |
Keywords: | IE8 iFrame | Cc: | |
Blocked By: | Blocking: |
Description
When an iFrame is loaded whithin a Contentpane using .setContent function, it's returned immediately to the calling program. This issue only appears in IE8 native mode. It will work in IE7 comtability mode and other browsers tested OK. (i.e. chrome 2.0.172.39, Firefox 3.5)
Dojo version: 1.3.2 (aol) IE8 (last version: 20090308.140743) Operating env.: XP Home, version 2002 SP3
You can view the issue at following URL: http://itnbuilder.com/test/tIframe.php
When pressing the 'Load iFrame' button, the page is not loaded/or launched correctly and returns immediately to the caller. 2 files attached: tIframe.php (= main page) tIframeClient.php (= php to execute in an iFrame)
Attachments (2)
Change History (5)
Changed 12 years ago by
Attachment: | tIframe.php added |
---|
Changed 12 years ago by
Attachment: | tIframeClient.php added |
---|
comment:1 Changed 12 years ago by
Component: | General → Dijit |
---|---|
Owner: | anonymous deleted |
Summary: | IE8 issue with iFrame not loaded in Contentpane → ContentPane: IE8 issue with iFrame not loaded in Contentpane |
setContent() always returns immediately. I guess you mean that the content isn't updated?
comment:2 Changed 12 years ago by
Hi,
Sorry for the late reply (was on holiday for a few weeks). In IE8 (native mode only), the content is not changed (iFrame is not displayed) and setContent() returns immediately. In IE8 (IE7 comptability mode), the iFrame is displayed. FF and Chrome also display the iFrame.
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Ah, it's that you need type=button on your button.
<button dojoType="dijit.form.Button" id="loadiFrame" type=button>Load iFrame...
By default (according to spec) buttons are type=submit and thus pressing the button submits the form, refreshing the whole page. FF and safari don't support that spec yet but IE8 does so that's why you weren't seeing the issue on other browsers.
Main program