From 9676d24ce797b09ae4cc72e04fc63c2573d2932c Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Wed, 27 Oct 2010 08:02:25 +0000 Subject: [PATCH] Bug 581933: Make YUI user autocomplete work with non-ASCII characters r=Wurblzap, a=LpSolit git-svn-id: svn://10.0.0.236/trunk@261469 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/js/field.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index b77719183a2..5b25135c938 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7575 \ No newline at end of file +7576 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/js/field.js b/mozilla/webtools/bugzilla/js/field.js index 8e1f5399111..a70e41a649c 100644 --- a/mozilla/webtools/bugzilla/js/field.js +++ b/mozilla/webtools/bugzilla/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 */