Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14087 closed defect (fixed)

Some dojox.mobile.Switch classes cannot be instantiated 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

This works:

new dojox.mobile.Switch({"className":"mblSwArcShape1",...})

But this doesn't work:

new dojox.mobile.Switch({"className":"mblSwRoundShape2",...})

Reported by dongbing.

Change History (2)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

In [26860]:

Fixes #14087 !strict. Fixed a problem where the class name cannot be passed correctly when instantiated programmatically.

comment:2 Changed 8 years ago by ykami

In [26861]:

Refs #14087 !strict. Allow use of 'class' in addition to 'className'.

Note: See TracTickets for help on using tickets.