#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: |
Description
(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 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Note: See
TracTickets for help on using
tickets.
(In [24653]) Fixes #12853 !strict. Call dojox.mobile.detectScreenSize() during init.