summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-25 19:15:55 +0200
committergerv%gerv.net <>2002-05-25 19:15:55 +0200
commit0075ab9936019e091e1e0ca06e692a595dbcc2cc (patch)
treedbbfd521d7c7d7e9db7d50c0954b0326951da860 /template/en/default/search
parentf19b1b0a556468b4dc6e733bac8f22732af950e8 (diff)
downloadbugzilla-0075ab9936019e091e1e0ca06e692a595dbcc2cc.tar.gz
bugzilla-0075ab9936019e091e1e0ca06e692a595dbcc2cc.tar.xz
Bug 144768 - Selecting multiple products on query page causes script error in IE. Patch by jouni@heikniemi.net; r=gerv, bbaetz.
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/form.html.tmpl6
1 files changed, 3 insertions, 3 deletions
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 %]