Opened 10 years ago
Closed 10 years ago
#11944 closed defect (fixed)
dijit.BackgroundIframe sometimes zero width/height in IE6
Reported by: | sjames | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Dijit | Version: | 1.5 |
Keywords: | IE6, BackgroundIframe | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
The dijit.BackgroundIframe facility doesn't work properly in IE6 (the iframe tends to end up with a width and height of ZERO).
SOLUTION
Move the line:-
this.iframe = frame;
To below the line:-
var iframe = dijit._frames.pop();
This will ensure that the following line will work (becuase the "resize" function needs "this.iframe" property to be instantiated in order to work):-
this.resize(node);
Change History (3)
comment:1 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Milestone: | tbd → 1.6 |
Owner: | set to bill |
Status: | new → assigned |
comment:2 Changed 10 years ago by
Summary: | dijit.BackgroundIframe bug in IE6 → dijit.BackgroundIframe sometimes zero width/height in IE6 |
---|
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Ah OK, I can see how it's referencing the variable before being set, although I haven't noticed a size problem occurring, but anyway thanks I'll change the code.