diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-01 08:46:53 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-01 08:46:53 -0500 |
commit | 3d9cda2d98940102b1bdffc053e036cc696b9f8e (patch) | |
tree | cb8bf06d944fa37dd1b86f953cab5a942b5490f7 /public/js/app.js | |
parent | faddaff90d4710f763ccc76c467ba6ff04472c38 (diff) | |
download | gitea-3d9cda2d98940102b1bdffc053e036cc696b9f8e.tar.gz gitea-3d9cda2d98940102b1bdffc053e036cc696b9f8e.zip |
public/ng: fix auto-completion #832
Diffstat (limited to 'public/js/app.js')
-rw-r--r-- | public/js/app.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/public/js/app.js b/public/js/app.js index 23b629e3e1..61539148e9 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1052,22 +1052,6 @@ function initRepoSetting() { return; } Gogits.getUsers($this.val(), $this.next()); - /*$.ajax({ - url: '/api/v1/users/search?q=' + $this.val(), - dataType: "json", - success: function (json) { - if (json.ok && json.data.length) { - var html = ''; - $.each(json.data, function (i, item) { - html += '<li><img src="' + item.avatar + '">' + item.username + '</li>'; - }); - $this.next().toggleShow(); - $this.next().find('ul').html(html); - } else { - $this.next().toggleHide(); - } - } - });*/ }).on('focus', function () { if (!$(this).val()) { $(this).next().toggleHide(); |