Opened 11 years ago

Closed 11 years ago

#5614 closed defect (fixed)

dojo.io.iframe form: API inconsistant

Reported by: dante Owned by: James Burke
Priority: low Milestone: 1.1
Component: IO Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

the form: parameter to io.iframe.send does not accept a string to pass through dojo.byId()

dojo.io.iframe.send({ url:"foo.php", form:"bar" }) does not work, however dojo.io.iframe.send({ url:"foo.php", form:dojo.byId("bar") }) behaves correctly.

Attachments (2)

iframe.patch (426 bytes) - added by dante 11 years ago.
small fix
xhr.patch (509 bytes) - added by dante 11 years ago.
a smaller (wider reaching) patch

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by dante

Attachment: iframe.patch added

small fix

comment:1 Changed 11 years ago by dante

a better fix would be to, in _base/xhr.js, replace the form arg with the return value of _d.byId(args.form) in _ioSetArgs(), but that has larger implications.

Changed 11 years ago by dante

Attachment: xhr.patch added

a smaller (wider reaching) patch

comment:2 Changed 11 years ago by James Burke

Milestone: 1.11.2

comment:3 Changed 11 years ago by dante

Milestone: 1.21.1
Resolution: fixed
Status: newclosed

this was fixed in [12661]

Note: See TracTickets for help on using tickets.