From 3d9cda2d98940102b1bdffc053e036cc696b9f8e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 1 Feb 2015 08:46:53 -0500 Subject: public/ng: fix auto-completion #832 --- public/ng/js/gogs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/ng/js') diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js index ff38bda9..f0bb7633 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(); }); } -- cgit v1.2.3