﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
940	"Array prototype extensions breaks plugin code that uses ""for(var i in <Array object>)"""	Paul Vrugt		"Instead of creating a new array object, or expanding the static Array object, the fckeditor messes with the standard array prototype. This results in the following problem:

suppose i do this in a plugin:

var objArray = new Array();[[BR]]
objArray[''''key1''''] = 'value1';[[BR]]
objArray[''''key2''''] = 'value2';[[BR]]

for(var strKey in objArray)[[BR]]
  alert(objArray[strKey]);

i wanted to get all values from the array, but instead, i get all values + 2 function objects, since the fckEditor added AddItem and IndexOf to the array prototype."	Bug	closed	Normal		General	FCKeditor 2.4.3	invalid		
