]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 764517: Don't automatically select the first keyword if the search string is...
authorByron Jones <bjones@mozilla.com>
Tue, 24 Jul 2012 08:57:33 +0000 (16:57 +0800)
committerByron Jones <bjones@mozilla.com>
Tue, 24 Jul 2012 08:57:33 +0000 (16:57 +0800)
r=dkl, a=LpSolit

js/field.js

index 2c3fd69b7162e25dde866103dc5332365b45fb5f..3d85ff116ffd2bd1c24ad6077031b199a9ea0b0d 100644 (file)
@@ -787,5 +787,8 @@ YAHOO.bugzilla.keywordAutocomplete = {
                 this.expandContainer();
             }
         });
+        fieldAutoComp.dataRequestEvent.subscribe( function(type, args) {
+            args[0].autoHighlight = args[1] != '';
+        });
     }
 };