Hi, same problem as Markus Büttner reported.

I am on it currently. A bug introduced during my performance fixing last week, sorry about that and thanks for reporting it. It is vital to get the bugs out before 2.0.1.



Werner


Am 12.07.10 14:01, schrieb Bruno Aranda:
I think a bug was introduced in the revision 960856 last 6th of July,
in the _AjaxUtils class. A variable is initialized inside a loop, but
is accessed outside. If the loop contains no values, the variable will
be left undefined. This is the code, lines 196-207:

if (element.options[u].selected) {
                             var subBuf = [];
                             var elementOption = element.options[u];
                             subBuf.push(encodeURIComponent(name));
                             subBuf.push("=");
                             if (elementOption.getAttribute("value") != null) {

subBuf.push(encodeURIComponent(elementOption.value));
                             } else {

subBuf.push(encodeURIComponent(elementOption.text));
                             }

                         }  strBuf.push(subBuf.join(""));


Reply via email to