Opened 8 years ago

Closed 8 years ago

#14071 closed defect (fixed)

Script error occurs when ListItem is created programmatically

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

Description (last modified by ykami)

If ListItem is instantiated with the checked:true parameter, script error occurs. This is because ListItem has no parent yet. Simply adding a check code can solve this issue.

Change History (2)

comment:1 Changed 8 years ago by ykami

Component: GeneralDojoX Mobile
Description: modified (diff)
Owner: set to ykami

comment:2 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

In [26828]:

Fixes #14071 !strict. Check if parent exists.

Note: See TracTickets for help on using tickets.