summaryrefslogtreecommitdiffstats
path: root/public/ng/js
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-01 08:46:53 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-01 08:46:53 -0500
commit3d9cda2d98940102b1bdffc053e036cc696b9f8e (patch)
treecb8bf06d944fa37dd1b86f953cab5a942b5490f7 /public/ng/js
parentfaddaff90d4710f763ccc76c467ba6ff04472c38 (diff)
downloadgitea-3d9cda2d98940102b1bdffc053e036cc696b9f8e.tar.gz
gitea-3d9cda2d98940102b1bdffc053e036cc696b9f8e.zip
public/ng: fix auto-completion #832
Diffstat (limited to 'public/ng/js')
-rw-r--r--public/ng/js/gogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js
index ff38bda9d6..f0bb76330d 100644
--- a/public/ng/js/gogs.js
+++ b/public/ng/js/gogs.js
@@ -608,7 +608,7 @@ function initTeamMembersList() {
$ul.toggleShow();
}
}).next().next().find('ul').on("click", 'li', function () {
- $('#org-team-members-add').val($(this).text());
+ $('#org-team-members-add').val($(this).find('.username').text());
$ul.toggleHide();
});
}