select owner when creating repository

This commit is contained in:
fuxiaohei 2014-06-25 16:03:29 +08:00
parent 4cf7a1fca5
commit 72ba273cc9
2 changed files with 7 additions and 4 deletions

View file

@ -770,7 +770,10 @@ function initRepoCreating() {
$(this).parent().find(".checked").removeClass("checked");
$(this).addClass("checked");
}
console.log("set repo owner to uid :",uid);
// set button group to show clicked owner
$('#repo-owner-avatar').attr("src",$(this).find('img').attr("src"));
$('#repo-owner-name').text($(this).text().trim());
console.log("set repo owner to uid :",uid,$(this).text().trim());
});
}());
console.log("init repo-creating scripts");