Opened 9 years ago
Closed 9 years ago
#15014 closed defect (fixed)
Dojo Mobile - Update test_ListItem-actions.html to new dojox.mobile APIs
Reported by: | Eric Durocher | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | DojoX Mobile | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The test case dojox/mobile/tests/test_ListItem-actions.html does not work any more because of API changes in dojox.mobile:
- addChild method no more present on several widgets,
- onclick handler is called twice, with inconsistent argument, because set using the onclick attribute.
Attached patch with the following changes:
- addChild replaced by replaceAt/startup calls
- onclick="actionN(this)" replaced by onClick:actionN in data-dojo-props
- modified the code of the actionN functions to use 'this' to get the ListItem? instance
Attachments (1)
Change History (3)
Changed 9 years ago by
Attachment: | test_ListItem-actions.patch added |
---|
comment:1 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|---|
Priority: | undecided → high |
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In [28151]: