Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#13850 closed enhancement (fixed)

`` does not allow subclasses to handle events differently

Reported by: colinsullivan Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:


In, the onClick handler is bound to the entire element, which is an issue if you would like different handlers for selections of different parts of the list item (i.e. an arrow on the right).

One easy solution would be to save the return values of the dojo.connect calls made here in member variables, so that a developer's subclass of ListItem? can use dojo.disconnect to remove the handlers and assign her/his own.

Change History (2)

comment:1 Changed 10 years ago by ykami

Resolution: fixed
Status: newclosed

In [26491]:

Fixes #13850 !strict. Save the onclick connector in this._onClickHandle.

comment:2 Changed 10 years ago by ykami

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.