#1210 closed defect (fixed)
Tree widget modifies name property of window object
Reported by: | Owned by: | ilia | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In TreeNode?.js and TreeSelector?.js the following line can be found:
for(name in this.eventNamesDefault){
The name variable is in the global scope and thefore it modifies the global name property. (window.name on IE) This line should be changed to:
for(var name in this.eventNamesDefault){
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Owner: | changed from bill to ilia |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Oops. The files are:
Tree.js and TreeSelector?.js