diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-27 00:48:57 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-27 00:48:57 -0700 |
commit | 9ebea1545b38b16b5808979db5ec9e41c0ba7a3b (patch) | |
tree | c0ba961f30f797bd2f26203683c0dad8cfc0c00c /js | |
parent | The browser-side comment-wrapping patch didn't actually make 4.0, so remove (diff) | |
download | bugzilla-9ebea1545b38b16b5808979db5ec9e41c0ba7a3b.tar.gz bugzilla-9ebea1545b38b16b5808979db5ec9e41c0ba7a3b.tar.bz2 bugzilla-9ebea1545b38b16b5808979db5ec9e41c0ba7a3b.zip |
Bug 581933: Make YUI user autocomplete work with non-ASCII characters
r=Wurblzap, a=LpSolit
Diffstat (limited to 'js')
-rw-r--r-- | js/field.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/field.js b/js/field.js index 8e1f53991..a70e41a64 100644 --- a/js/field.js +++ b/js/field.js @@ -670,7 +670,7 @@ YAHOO.bugzilla.userAutocomplete = { method : "User.get", id : YAHOO.bugzilla.userAutocomplete.counter, params : [ { - match : [ unescape(enteredText) ], + match : [ decodeURIComponent(enteredText) ], include_fields : [ "email", "real_name" ] } ] }; @@ -681,7 +681,7 @@ YAHOO.bugzilla.userAutocomplete = { return stringified; }, resultListFormat : function(oResultData, enteredText, sResultMatch) { - return ( unescape(oResultData.real_name) + " (" + oResultData.email + ")"); + return ( oResultData.real_name + " (" + oResultData.email + ")"); }, debug_helper : function ( ){ /* used to help debug any errors that might happen */ |