Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#12853 closed defect (fixed)

common.js assigns dj_tablet and dj_phone too late

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.6.0
Keywords: 1.7-mobile Cc: Douglas Hays
Blocked By: Blocking:


(from Doug)dojox/mobile/common.js sets html.className during init, but adds dj_phone and dj_tablet inside an addOnLoad function. These can be added during init as well and is needed by Opener.js so it can decide if it should use Overlay or Tooltip, and addOnLoad is too late.

Change History (2)

comment:1 Changed 11 years ago by ykami

Resolution: fixed
Status: newclosed

(In [24653]) Fixes #12853 !strict. Call during init.

comment:2 Changed 11 years ago by ykami

(In [24686]) Refs #12853 !strict. Force publishing the screen size change event when in the addOnLoad handler.

Note: See TracTickets for help on using tickets.