From 0075ab9936019e091e1e0ca06e692a595dbcc2cc Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sat, 25 May 2002 17:15:55 +0000 Subject: Bug 144768 - Selecting multiple products on query page causes script error in IE. Patch by jouni@heikniemi.net; r=gerv, bbaetz. --- template/en/default/search/form.html.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index cd81d7cac..8627b448a 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -41,12 +41,12 @@ var tms = new Array(); [% n = 0 %] [% FOREACH p = product %] cpts[[% n %]] = [ - [%- FOREACH item = componentsbyproduct.$p %]'[% item FILTER js %]', [%- END -%]]; + [%- FOREACH item = componentsbyproduct.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; vers[[% n %]] = [ - [%- FOREACH item = versionsbyproduct.$p -%]'[% item FILTER js %]', [%- END -%]]; + [%- FOREACH item = versionsbyproduct.$p -%]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% IF Param('usetargetmilestone') %] tms[[% n %]] = [ - [%- FOREACH item = milestonesbyproduct.$p %]'[% item FILTER js %]', [%- END -%]]; + [%- FOREACH item = milestonesbyproduct.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% END %] [% n = n+1 %] [% END %] -- cgit v1.2.3-24-g4f1b