Opened 9 years ago
Closed 9 years ago
#14138 closed defect (fixed)
dojox.mobile.createDomButton could cause a script error
Reported by: | ykami | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.7.0b1 |
Keywords: | Cc: | Douglas Hays | |
Blocked By: | Blocking: |
Description
In createDomButton, the following code exists.
var rules = sheet.cssRules;
In some situations, this could be null. Therefore it has to be
var rules = sheet.cssRules || [];
reported by Doug
Note: See
TracTickets for help on using
tickets.
In [26895]: