﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5356	Scayt options dialog doesn't work with prototype.js enabled environments	Antti Leppä		"When using CKEditor in prototype.js enabled environments SCAYT plugin options dialog opening crashes. 

This is caused by plugins/scayt/dialogs/options.js:218  

{{{
for ( i in buttons )
}}}

Normally this clause iterates over all items within a array but in prototype enabled environments this causes loop to iterate also over all extended methods thus causing following ''doc.getById( button)'' to fail

This problem can be fixed by changing line 218 into:

{{{
for ( i = 0; i < buttons.length; i++ )
}}}

The problem was discovered with Prototype 1.6.1"	Bug	closed	Normal	CKEditor 3.3	UI : Spell Checker	3.2	fixed	Confirmed HasPatch	WebSpellChecker.net
