]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1267536 - Javascript errors in advanced search page
authorMatt Tyson <mtyson@redhat.com>
Tue, 26 Apr 2016 13:44:07 +0000 (09:44 -0400)
committerDylan Hardison <dylan@mozilla.com>
Tue, 26 Apr 2016 13:44:07 +0000 (09:44 -0400)
r=dylan,a=dylan

js/custom-search.js
template/en/default/search/search-advanced.html.tmpl

index 61284c50d1afcc83c27ece16fe557ed29925d10e..3cbd246ec5b005807299424babc08ffc603ab838 100644 (file)
@@ -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);
index ae4a72812fd50db13f2ad1fbdcffd70ea2e6af48..31385cec6d1399769254453fc81cec74ddb1ba66 100644 (file)
@@ -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 %]