Opened 12 years ago

Closed 11 years ago

#6300 closed defect (wontfix)

dojo.attr() doesn't work as a getter for functions

Reported by: bill Owned by: alex
Priority: high Milestone: 1.2
Component: Core Version: 1.1b1
Keywords: Cc:
Blocked By: Blocking:

Description

See attached test case. dojo.attr(node, "onclick") or similar doesn't return expected value. On FF it returns null and on IE it returns the listener wrapper event thing.

Attachments (1)

attrGet.html (1005 bytes) - added by bill 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by bill

Attachment: attrGet.html added

comment:1 Changed 12 years ago by bill

Milestone: 1.2

IIRC Alex said he would fix this in 1.2.

comment:2 Changed 11 years ago by dylan

Component: GeneralCore

comment:3 Changed 11 years ago by bill

Resolution: wontfix
Status: newclosed

OTOH, we could just think of it as a limitation of the code, an unsupported feature.

Note: See TracTickets for help on using tickets.