aboutsummaryrefslogtreecommitdiff
path: root/public/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/app.js')
-rw-r--r--public/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index b33469d9..6edade44 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -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");