aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2012-05-17 18:28:32 -0500
committerReed Loden <reed@reedloden.com>2012-05-17 18:28:32 -0500
commitd3a92bd63e702f066685ea03dec649c08e0ff6b2 (patch)
treebd6231f41cf1e19fe2bdd537a6c72f5ca3a578bb
parent7236a646116fb3185977e790ad9b09d694164d4e (diff)
downloadbugs-d3a92bd63e702f066685ea03dec649c08e0ff6b2.tar
bugs-d3a92bd63e702f066685ea03dec649c08e0ff6b2.tar.gz
bugs-d3a92bd63e702f066685ea03dec649c08e0ff6b2.tar.bz2
bugs-d3a92bd63e702f066685ea03dec649c08e0ff6b2.tar.xz
bugs-d3a92bd63e702f066685ea03dec649c08e0ff6b2.zip
Bug 754561 - Tags should be escaped in the auto-complete form
[r=LpSolit a=LpSolit]
-rw-r--r--js/field.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/field.js b/js/field.js
index 1e5595081..0824e2714 100644
--- a/js/field.js
+++ b/js/field.js
@@ -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 = [","," "];