Opened 10 years ago

Closed 10 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)

tIframe.php (3.3 KB) - added by ghannes 10 years ago.
Main program
tIframeClient.php (1.8 KB) - added by ghannes 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by ghannes

Attachment: tIframe.php added

Main program

Changed 10 years ago by ghannes

Attachment: tIframeClient.php added

comment:1 Changed 10 years ago by bill

Component: GeneralDijit
Owner: anonymous deleted
Summary: IE8 issue with iFrame not loaded in ContentpaneContentPane: 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 10 years ago by ghannes

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 10 years ago by bill

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.