Ticket #5637 (closed defect: fixed)
dojox.layout.ContentPane.setContent(...) overwrites the window.name property value to "div".
| Reported by: | guest | Owned by: | dante |
|---|---|---|---|
| Priority: | high | Milestone: | 1.1 |
| Component: | Dojox | Version: | 1.0 |
| Severity: | major | Keywords: | dojox.layout.ContentPane window.name overwritten |
| Cc: | vikas.sasidharan@… |
Description
Dojo Version: 1.0.1
Whenever you call setContent(...) on a dojox.layout.ContentPane widget, the value of the global property "window.name" gets changed to "div". This behavior is consistent and doesn't depend on the content passed. I believe that the culprit is a missing "var" keyword in line no. 395 :
Is: "switch(name = node.nodeName.toLowerCase()){"
Should be: "switch(var name = node.nodeName.toLowerCase()){"
Attachments
Change History
Note: See
TracTickets for help on using
tickets.