Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#14795 closed defect (fixed)

dojox.mobile.TabBarButton failing on startup

Reported by: ebengtso Owned by: ykami
Priority: undecided Milestone: 1.8
Component: DojoX Mobile Version: 1.7.2rc1
Keywords: Cc:
Blocked By: Blocking:

Description

on the startup function, this line fails because getParent is null if TabBarButton? is defined in a custom widget

if(this.getParent().closable){

fix is simple

if(this.getParent() && this.getParent().closable){

Change History (2)

comment:1 Changed 7 years ago by ykami

Resolution: fixed
Status: newclosed

In [27866]:

Fixes #14795 !strict Added parent check code in startup(). Thanks ebengtso for finding this.

comment:2 Changed 7 years ago by ykami

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