]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 754561 - Tags should be escaped in the auto-complete form
authorReed Loden <reed@reedloden.com>
Thu, 17 May 2012 23:28:32 +0000 (18:28 -0500)
committerReed Loden <reed@reedloden.com>
Thu, 17 May 2012 23:28:32 +0000 (18:28 -0500)
[r=LpSolit a=LpSolit]

js/field.js

index 1e559508134581f914a44522d194e8035837e0f2..0824e2714d8de5db65d492505e12ac258fcd9643 100644 (file)
@@ -883,6 +883,7 @@ YAHOO.bugzilla.fieldAutocomplete = {
         var fieldAutoComp =
           new YAHOO.widget.AutoComplete(field, container, this.dataSource[field]);
         fieldAutoComp.maxResultsDisplayed = YAHOO.bugzilla.field_array[field].length;
+        fieldAutoComp.formatResult = fieldAutoComp.formatEscapedResult;
         fieldAutoComp.minQueryLength = 0;
         fieldAutoComp.useIFrame = true;
         fieldAutoComp.delimChar = [","," "];