summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-10-03 08:47:07 +0200
committerlpsolit%gmail.com <>2006-10-03 08:47:07 +0200
commit3203f6c26127a2d1ebc3a0ebd6d0755c08b8ecc0 (patch)
tree068d0d359e3d28fbce90664277c330fd32bea14b
parent8158a81ec57503131c46b2758f48e00cf1d128f9 (diff)
downloadbugzilla-3203f6c26127a2d1ebc3a0ebd6d0755c08b8ecc0.tar.gz
bugzilla-3203f6c26127a2d1ebc3a0ebd6d0755c08b8ecc0.tar.xz
Bug 355172: [Selenium] <name="newqueryname" ...> needs an ID - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
-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>