Home » HTML » HTML_QuickForm_advmultiselect » Bug #4993
JavaScript Error
Details
| Submitted | 2005-08-04 07:27 UTC |
|---|---|
| From | jan dot bolmeson at ivtaco dot se |
| Assigned | farell |
| Status | Closed |
| Package | HTML_QuickForm_advmultiselect |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-08-04 07:27 UTC] jan dot bolmeson at ivtaco dot se
Description:
------------
Hi,
When using the package I get a JavaScript Error when I transfer options between the two selects.
The javascript error occurs even in the supplied examples in the PEAR::docs directory.
The javascript error is:
r.options[i] has no properties
and it is raised by the following row:
h.options[h.length] = new Option(r.options[i].text, r.options[i].value);
I use the following version of AMS:
* @version CVS: $Id: advmultiselect.php,v 1.3 2005/07/25 15:47:15 farell Exp $
Test script:
---------------
examples in docs-directory
Expected result:
----------------
an execution without javascript errors.
Actual result:
--------------
JavaScript error is raised; see description.