Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
15111b79
Commit
15111b79
authored
Apr 19, 2011
by
Randy Reddekopp
Committed by
Frédéric Buclin
Apr 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 641519: userAutocomplete is not compatible with Bugzilla configured to use "local" usernames
r/a=mkanat
parent
52f6e88a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
field.js
js/field.js
+3
-3
No files found.
js/field.js
View file @
15111b79
...
...
@@ -683,7 +683,7 @@ YAHOO.bugzilla.userAutocomplete = {
id
:
YAHOO
.
bugzilla
.
userAutocomplete
.
counter
,
params
:
[
{
match
:
[
decodeURIComponent
(
enteredText
)
],
include_fields
:
[
"
email
"
,
"real_name"
]
include_fields
:
[
"
name
"
,
"real_name"
]
}
]
};
var
stringified
=
YAHOO
.
lang
.
JSON
.
stringify
(
json_object
);
...
...
@@ -693,7 +693,7 @@ YAHOO.bugzilla.userAutocomplete = {
return
stringified
;
},
resultListFormat
:
function
(
oResultData
,
enteredText
,
sResultMatch
)
{
return
(
_escapeHTML
(
oResultData
.
real_name
)
+
" ("
+
_escapeHTML
(
oResultData
.
email
)
+
")"
);
return
(
_escapeHTML
(
oResultData
.
real_name
)
+
" ("
+
_escapeHTML
(
oResultData
.
name
)
+
")"
);
},
debug_helper
:
function
(
){
/* used to help debug any errors that might happen */
...
...
@@ -712,7 +712,7 @@ YAHOO.bugzilla.userAutocomplete = {
resultsList
:
"result.users"
,
metaFields
:
{
error
:
"error"
,
jsonRpcId
:
"id"
},
fields
:
[
{
key
:
"
email
"
},
{
key
:
"
name
"
},
{
key
:
"real_name"
}
]
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment