summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2004-07-10 23:51:23 +0200
committerjustdave%bugzilla.org <>2004-07-10 23:51:23 +0200
commit4e635c0676e60f4bf0af8fc76121ed41dfc2e092 (patch)
treef553d7acc62dc5674e730dd5aeacc9a4677a104f /template
parent33a8d18457464cc379635b6b519c239938ce3690 (diff)
downloadbugzilla-4e635c0676e60f4bf0af8fc76121ed41dfc2e092.tar.gz
bugzilla-4e635c0676e60f4bf0af8fc76121ed41dfc2e092.tar.xz
Bug 238797: minor adjustment to javascript filters to prevent tags inserted in product, component, and flag names from causing problems.
r=gerv, a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl2
-rw-r--r--template/en/default/bug/knob.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl
index 0185df0c7..44cbf36c2 100644
--- a/template/en/default/admin/flag-type/list.html.tmpl
+++ b/template/en/default/admin/flag-type/list.html.tmpl
@@ -98,7 +98,7 @@
<td>
<a href="editflagtypes.cgi?action=copy&amp;id=[% type.id %]">Copy</a>
| <a href="editflagtypes.cgi?action=confirmdelete&amp;id=[% type.id %]"
- onclick="return confirmDelete([% type.id %], '[% type.name FILTER js %]',
+ onclick="return confirmDelete([% type.id %], '[% type.name FILTER js FILTER html %]',
[% type.flag_count %]);">Delete</a>
</td>
</tr>
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl
index f0194155d..b93f8099d 100644
--- a/template/en/default/bug/knob.html.tmpl
+++ b/template/en/default/bug/knob.html.tmpl
@@ -97,7 +97,7 @@
[% terms.bug %] to
</label>
<input name="assigned_to" size="32"
- onchange="if ((this.value != '[% bug.assigned_to.email FILTER js %]') &&
+ onchange="if ((this.value != '[% bug.assigned_to.email FILTER js FILTER html %]') &&
(this.value != '')) {
document.changeform.knob[[% knum %]].checked=true;
}"