1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00

Merge branch 'dev' of github.com:gogits/gogs into dev

This commit is contained in:
Unknown 2014-05-01 11:32:25 -04:00
commit 0a187dbef5

View File

@ -597,7 +597,7 @@ function initRepoSetting() {
url: '/api/v1/users/search?q=' + $this.val(),
dataType: "json",
success: function (json) {
if (json.ok && json.data) {
if (json.ok && json.data.length) {
var html = '';
$.each(json.data, function (i, item) {
html += '<li><img src="' + item.avatar + '">' + item.username + '</li>';