Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3164 closed bug (duplicate)

for-loop is off by 1

Reported by: genedronek Owned by:
Priority: major Milestone: 1.3
Component: event Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

Description

for-loop (nr line 2102) that clones "read-only properties" from props list is off by 1. Causes "undefined" property name in event object. I fixed this using

for ( var i=props.length; --i >= 0; )

Change History (1)

comment:1 Changed 11 years ago by flesler

Component: coreevent
Resolution: duplicate
Status: newclosed

I already fixed this on [5707]. Thanks for reporting.

Note: See TracTickets for help on using tickets.