Menu

#1 function getFormsNumber bug

open
nobody
None
5
2006-05-03
2006-05-03
J Banana
No

The function getFormsNumber in spellcheck-caller.js has
a bug at line 42. It reads

for( var x = 0; x < forms[x].length; x++ )

The correct version would be

for( var x = 0; x < forms.length; x++ )

The existing version works in many cases, but the loop
can terminate prematurely if you have multiple forms,
some of which have very few elements.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB