Opened 8 years ago

Closed 8 years ago

#13735 closed defect (fixed)

Cannot add onclick handler to dojox.mobile.IconItem

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.6.1
Keywords: 1.7-mobile Cc: Atsushi Ono
Blocked By: Blocking:

Description

For dojox.mobile.ListItem, you can add an onclick handler to the widget as below.

<li dojoType="dojox.mobile.ListItem" onclick="myAction(this)">

However, you cannot do the same thing for IconItem.

Change History (1)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

In [26320]:

Fixes #13735 !strict. Preserve the srcNodeRef node so as not to lose a user-specified onclick handler for it.

Note: See TracTickets for help on using tickets.