diff options
author | Reed Loden <reed@reedloden.com> | 2012-05-29 16:45:06 +0200 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2012-05-29 16:45:06 +0200 |
commit | 6bf31c24a131b4a1694ce7c9686b85cfc6195532 (patch) | |
tree | 0e14cfef74ac329871bc5b24a82c3eb33958291e /js | |
parent | 71be6327da8fbfd2207a9e5826da98f25caca403 (diff) | |
download | bugzilla-6bf31c24a131b4a1694ce7c9686b85cfc6195532.tar.gz bugzilla-6bf31c24a131b4a1694ce7c9686b85cfc6195532.tar.xz |
Bug 754561 - Escape HTML in keywords in the auto-complete form
[r=LpSolit a=LpSolit]
Diffstat (limited to 'js')
-rw-r--r-- | js/field.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/field.js b/js/field.js index 744f193a3..2c3fd69b7 100644 --- a/js/field.js +++ b/js/field.js @@ -770,6 +770,7 @@ YAHOO.bugzilla.keywordAutocomplete = { } var keywordAutoComp = new YAHOO.widget.AutoComplete(field, container, this.dataSource); keywordAutoComp.maxResultsDisplayed = YAHOO.bugzilla.keyword_array.length; + keywordAutoComp.formatResult = keywordAutoComp.formatEscapedResult; keywordAutoComp.minQueryLength = 0; keywordAutoComp.useIFrame = true; keywordAutoComp.delimChar = [","," "]; |