summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-08-24 23:27:32 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-08-24 23:27:32 +0200
commit7a997794eb6d39027d2e8704773017793d8e51b9 (patch)
tree87124ac9fb8eb2edeef6bd950a3a233fad63a0f7 /template
parent96096a048ea2b96f60c8c7d9d7fe6e7de2d5750b (diff)
downloadbugzilla-7a997794eb6d39027d2e8704773017793d8e51b9.tar.gz
bugzilla-7a997794eb6d39027d2e8704773017793d8e51b9.tar.xz
Bug 1197436: A remembered search with a ' cannot be edited or deleted
r=gerv a=sgreen
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/list.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index c8750ffcd..190b2193c 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -237,7 +237,7 @@
><img title="iCal Format" alt="iCal" src="images/ical.png" height="24" width="24"></a>
<button type="button" id="change_columns"
onclick="document.location='colchange.cgi?[% urlquerypart FILTER html %]&amp;query_based_on=
- [%~ defaultsavename OR searchname FILTER uri %]'">
+ [%~ defaultsavename OR searchname FILTER uri FILTER js %]'">
Change Columns</button>
@@ -261,7 +261,7 @@
[% END %]
<div class="bz_query_edit">
<button type="button" id="edit_search"
- onclick="document.location='[% PROCESS edit_search_url %]'">
+ onclick="document.location='[% PROCESS edit_search_url FILTER js %]'">
Edit Search</button>
</div>
@@ -269,7 +269,7 @@
<div class="bz_query_forget">
<button type="button" id="forget_search"
onclick="document.location='buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
- [%- searchname FILTER uri %]&amp;token=
+ [%- searchname FILTER uri FILTER js %]&amp;token=
[%- issue_hash_token([search_id, searchname]) FILTER uri %]'">
Forget Search '[% searchname FILTER html %]'</button>
</div>