]> 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:59:09 +0000 (16:59 +0800)
committerByron Jones <bjones@mozilla.com>
Tue, 24 Jul 2012 08:59:09 +0000 (16:59 +0800)
r=dkl, a=LpSolit

js/field.js

index 94876059e8ede3c084b0b3445c658826358be924..f5376a4f262092da578f6d97462c6d65875b34ac 100644 (file)
@@ -909,6 +909,9 @@ YAHOO.bugzilla.fieldAutocomplete = {
                 this.expandContainer();
             }
         });
+        fieldAutoComp.dataRequestEvent.subscribe( function(type, args) {
+            args[0].autoHighlight = args[1] != '';
+        });
     }
 };