summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/global/per-bug-queries.html.tmpl8
-rw-r--r--template/en/default/list/list.html.tmpl2
2 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/global/per-bug-queries.html.tmpl
index c288e0cbc..631fb8509 100644
--- a/template/en/default/global/per-bug-queries.html.tmpl
+++ b/template/en/default/global/per-bug-queries.html.tmpl
@@ -35,11 +35,11 @@
}
function manage_old_lists() {
- var old_lists = document.getElementById('oldqueryname');
+ var old_lists = document.getElementById('lob_oldqueryname');
// If there is no saved searches available, returns.
if (!old_lists) return;
- var new_query = document.getElementById('newqueryname').value;
+ var new_query = document.getElementById('lob_newqueryname').value;
if (new_query != "") {
old_lists.disabled = true;
@@ -76,7 +76,7 @@
<input type="text" name="bug_ids" size="12" maxlength="80">
<span id="lob_direction">to</span>
[% IF lists_of_bugs.size %]
- <select id="oldqueryname" name="oldqueryname">
+ <select id="lob_oldqueryname" name="oldqueryname">
[% FOREACH query = lists_of_bugs %]
<option value="[% query FILTER html %]">[% query FILTER html %]</option>
[% END %]
@@ -84,7 +84,7 @@
[% END %]
<span id="lob_new_query_text">
[% " or to" IF lists_of_bugs.size %] the new saved search:
- <input type="text" id="newqueryname" name="newqueryname" size="20" maxlength="64"
+ <input type="text" id="lob_newqueryname" name="newqueryname" size="20" maxlength="64"
onkeyup="manage_old_lists();">
</span>
<input type="submit" value="Commit" id="commit_list_of_bugs">
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 644cc5ac4..ac022dc20 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -218,7 +218,7 @@
value="[% urlquerypart FILTER html %][% "&order=$qorder" FILTER html IF order %]">
<input type="hidden" name="cmdtype" value="doit">
<input type="hidden" name="remtype" value="asnamed">
- <input type="text" name="newqueryname" size="20"
+ <input type="text" id="save_newqueryname" name="newqueryname" size="20"
value="[% defaultsavename FILTER html %]">
</form>
</td>