Opened 13 years ago

Closed 12 years ago

#2283 closed defect (fixed)

[patch][cla] BrowserIO.js -- IE6 bug with formNode

Reported by: Jonathan Bond-Caron Owned by: dylan
Priority: blocker Milestone: 0.9
Component: IO Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

I've run into a not so documented bug in IE6 with the getAttribute("action") method:

A description is available here: http://jquery.com/dev/bugs/bug/160/

Basically the problem is with:

var ta = kwArgs.formNode.getAttribute("action"); In IE6, this does not return not always return a string but an object

A simple fix is:

var ta = kwArgs.formNode.getAttribute("action"); if (typeof(ta)!='string') ta = kwArgs.formNode.attributes.action.value;

I'll attach the patch

Attachments (1)

browserIO.patch (507 bytes) - added by Jonathan Bond-Caron 13 years ago.
Bug with formNode

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Jonathan Bond-Caron

Attachment: browserIO.patch added

Bug with formNode

comment:1 Changed 13 years ago by dylan

Summary: BrowserIO.js -- IE6 bug with formNode[patch][cla] BrowserIO.js -- IE6 bug with formNode

comment:2 Changed 12 years ago by dylan

Milestone: 0.9
Owner: changed from alex to dylan
Status: newassigned

comment:3 Changed 12 years ago by dylan

Resolution: fixed
Status: assignedclosed

(In [7146]) fixes #2283, BrowserIO.js -- IE6 bug with formNode, thanks to jbondc for the patch

Note: See TracTickets for help on using tickets.