Opened 11 years ago

Closed 11 years ago

#13415 closed defect (fixed)

Error if there is a widget that has no containerNode on the View.

Reported by: nkzawa Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.7.0b1
Keywords: 1.7-mobile Cc: [email protected]
Blocked By: Blocking:


In the function of dojo.addOnLoad (, error will occur in the findWidgets function when root parameter is null (=containerNode is null)., Tooltip and Switch have no containerNode. I don't know it's on purpose, but may need to fix these too.

line 348: arr = dijit.findWidgets(root); This should be like: if (!root) return; arr = dijit.findWidgets(root);

Change History (2)

comment:1 Changed 11 years ago by ykami

Keywords: 1.7-mobile added
Milestone: tbd1.7
Status: newassigned

Thank you for finding this.

comment:2 Changed 11 years ago by ykami

Resolution: fixed
Status: assignedclosed

(In [25766]) Fixes #13415 !strict. Added null check in findWidget. Some code clean-ups.

Note: See TracTickets for help on using tickets.