Opened 13 years ago
Closed 13 years ago
#9088 closed defect (fixed)
unescaped markup problem in 1.3
Reported by: | PhilippC | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.3.1 |
Component: | Dijit | Version: | 1.3.0 |
Keywords: | templateString, _Templated | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description (last modified by )
Using unescaped markup (something like ${!foo}) seems not to work anymore in Dojo 1.3. This is due to wrong usage of dojo.getObject (2nd parameter is missing):
line 45 of _Templated.js should be
if(key.charAt(0) == '!'){ value = dojo.getObject(key.substr(1), false, _this); }
instead of
if(key.charAt(0) == '!'){ value = dojo.getObject(key.substr(1), _this); }
Change History (2)
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Owner: | set to bill |
Status: | new → assigned |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in [17253] in trunk and 1.3 branch.
Note: See
TracTickets for help on using
tickets.
Oops, my fault, this is from [15646]. OK, I'll fix. Thanks for the heads-up.