Re: [Xsltforms-support] XSLTForms and for(var i in list) construct
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2011-01-16 13:16:37
|
Le 11/01/2011 20:43, Leigh L Klotz Jr a écrit : > In a few places, XSLTForms uses for(var i in list). > This construct is not recommended for iteration over arrays. > > See > https://developer.mozilla.org/en/JavaScript/Reference/Statements/for...in > and other sources. > > > This JavaScript idiom fail when prototype.js is loaded. > > Below is my best guess at which lines are in error. I've not tested > them all, but at least dispatchList works now. I have checked them all and fixed some typos. I didn't find other instructions to be changed. I haven't performed specific tests but general ones. Thank you for your feedbacks! -Alain |