Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1210 closed defect (fixed)

Tree widget modifies name property of window object

Reported by: j.compier@… 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 13 years ago by guest

Oops. The files are:

Tree.js and TreeSelector?.js

comment:2 Changed 13 years ago by bill

Owner: changed from bill to ilia

comment:3 Changed 13 years ago by ilia

Resolution: fixed
Status: newclosed

comment:4 Changed 13 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.