Changes between Version 1 and Version 3 of Ticket #18048
- Timestamp:
- May 27, 2014, 5:21:40 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18048
- Property Owner set to Sebastien Pereira
-
Property
Status
changed from
new
toassigned
-
Ticket #18048 – Description
v1 v3 6 6 This is a consequence of the new code introduced in Switch.js for #15076, more precisely the code introduced initially inside postCreate() (https://github.com/dojo/dojox/commit/5abd3a3fd5c8fc7237096a2d16bb38b45d5a526e) and later moved inside resize() (https://github.com/dojo/dojox/commit/5cfae8a68a6948baef4714cb36e068816efc7d88 ). Both variants of the code break the templating of the Switch. 7 7 8 The failure is because https://github.com/dojo/dojox/blob/master/mobile/Switch.js#L148 makes the blind assumption that the first child of this.left can be styled, which is not necessarily the case with a template. 8 The failure is because https://github.com/dojo/dojox/blob/master/mobile/Switch.js#L148 makes the blind assumption that the first child of this.left can be styled, which is not necessarily the case with a template. I have verified that the issue still hurts if (test_Templated-widgets.html is modified to use manual parsing instead of parseOnLoad:true.