Re: Re: HTML_QuickForm_advmultiselect javascript error
| From: | Noel da Costa | Date: | Tue, 16 Dec 2008 20:37:14 +0000 |
| Subject: | Re: Re: HTML_QuickForm_advmultiselect javascript error | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29515@lists.php.net to get a copy of this message | ||
Hi Laurent,
Thanks very much for your reply.
I discovered that the js file had been altered manually and wasn't working correctly.
Once I re-installed v1.4.1 everything worked fine.
Kind Regards,
Noel
On 16 Dec 2008, at 22:31, Laurent Laville wrote:
Noel da Costa a écrit :Noel da Costa a r c c o n t r a c t i n g +27 (0)76 263 9544 www.arc2.co.ukHi there, I'm getting problems using HTML_QuickForm_advmultiselect v1.4.1 error: -------- s is null [Break on this error] qfamsUpdateCounter(c, s.length); -------- This occurs when moving an item from column a to column b Any ideas? Thanks, Noel da Costa a r c c o n t r a c t i n g +27 (0)76 263 9544 www.arc2.co.ukHello, If you used the default javascript provided with the package, and with so few information I sould said that there is two possible origins. 1. the source list is not available (on the DOM) s is null => source list202 // updates unselected item count 203 var c = document.getElementById(qfamsName + '_unselected'); 204 var s = document.getElementById(qfamsName + '-f'); 205 qfamsUpdateCounter(c, s.length);206 2. the target list is not available (on the DOM) s is null => target list207 // updates selected item count 208 var c = document.getElementById(qfamsName + '_selected'); 209 var s = document.getElementById(qfamsName + '-t'); 210 qfamsUpdateCounter(c, s.length);Perharps you should provide more information ! --PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php