in partnership with mediatemple

Ticket #987 (new defect)

Opened 3 weeks ago

IFrame the 'load' event could't get iframe.window object in firefox

Reported by: pobear Owned by:
Type: defect Priority: trivial
Milestone: Mootools version 1.2 Component: Core
Keywords: Cc:

Description

IFrame the 'load' event could't get iframe.window object in firefox

var newIFrame = new IFrame({
			'id': 'openFrame',
			'name': 'openFrame',
			'src': this.url,
			'styles': {
				'border': 'none',
				'width': this.options.width,
				'height': this.options.height - 30
			},
			events: {
				'load': function(){
					alert($type($('openFrame').window));				}.bind(this)
			}
		});

alert return false in firefox!

Note: See TracTickets for help on using tickets.