Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.2.16

Bug #5205 misspelled JavaScript
Submitted: 2005-08-25 09:29 UTC
From: rudger at direqt dot nl Assigned: avb
Status: Closed Package: HTML_QuickForm
PHP Version: 4.3.5 OS: Linux server 2.4.25
Roadmaps: (Not assigned)    
Subscription  


 [2005-08-25 09:29 UTC] rudger at direqt dot nl
Description: ------------ javascript error: expecting object on line... fixed this locally(!), --- (= current file) +++ (= edited file) and the result diff -u: /home/direqt/pear/php/HTML/QuickForm/RuleRegistry.php --- /home/pear/php/HTML/QuickForm/RuleRegistry.php Thu Aug 25 10:30:10 2005 +++ /home/pear/php/HTML/QuickForm/RuleRegistry.php Thu Aug 25 10:54:16 2005 @@ -269,7 +269,7 @@ " _element.checked = _element.defaultChecked;\n" . " break;\n" . " case 'select-one':\n" . - " case 'select-multiple:\n" . + " case 'select-multiple':\n" . " for (var j = 0; j < _element.options.length; j++) {\n" . " _element.options[j].selected = _element.options[j].defaultSelected;\n" . " }\n" . please confirm and update?

Comments

 [2005-08-30 09:53 UTC] peter at luciak dot org
Confirm, missing apostrophe on line 272 in RuleRegistry.php. And if I may add, kinda irritating that this sort of bug can't be fixed 3 weeks after "stable" release...
 [2005-08-30 10:23 UTC] avb
Fixed in CVS. Also "peter at luciak dot org", please stick such comments up yours. The bug was open for 5 days only.