summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Tyson <mtyson@redhat.com>2016-04-26 15:44:07 +0200
committerDylan Hardison <dylan@mozilla.com>2016-04-26 15:44:07 +0200
commit8506c4e0760251a4ad21df08d9a853f526df182e (patch)
treefa184e38070e5542b36ca04995c1fbe4c6fe7165
parentff441bcc43f86e3fedcecd0b774f171f1c8e61ef (diff)
downloadbugzilla-8506c4e0760251a4ad21df08d9a853f526df182e.tar.gz
bugzilla-8506c4e0760251a4ad21df08d9a853f526df182e.tar.xz
Bug 1267536 - Javascript errors in advanced search page
r=dylan,a=dylan
-rw-r--r--js/custom-search.js2
-rw-r--r--template/en/default/search/search-advanced.html.tmpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/js/custom-search.js b/js/custom-search.js
index 61284c50d..3cbd246ec 100644
--- a/js/custom-search.js
+++ b/js/custom-search.js
@@ -41,7 +41,7 @@ function custom_search_new_row() {
_remove_any_all(clone);
// Always make sure there's only one row with this id.
- row.id = null;
+ row.removeAttribute('id');
row.parentNode.appendChild(clone);
cs_reconfigure(row);
fix_query_string(row);
diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl
index ae4a72812..31385cec6 100644
--- a/template/en/default/search/search-advanced.html.tmpl
+++ b/template/en/default/search/search-advanced.html.tmpl
@@ -31,6 +31,7 @@ function remove_token() {
javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js"]
style_urls = ['skins/standard/buglist.css']
doc_section = "using/finding.html"
+ yui = ['connection']
%]
[% WRAPPER search/tabs.html.tmpl %]