aboutsummaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-14 20:40:22 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-14 20:40:22 +0800
commit8549b47e04a1461520d698bd87cbd67f1236508b (patch)
tree9fa4baf3e85ebe3eabec7e63709fe565e048c83e /public/js
parent337eef2ee57707f055042db21b7b4159db0f0200 (diff)
fix repo-new ui, fix top-nav search-bar ui
Diffstat (limited to 'public/js')
-rw-r--r--public/js/app.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 059663e1..a5c79a39 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -559,7 +559,15 @@ function initRelease() {
$('.release-write a[data-toggle]').on("click", function () {
$('.release-preview-content').html("loading...");
});
- }())
+ }());
+
+ // release new target selection
+ (function () {
+ $('#release-new-target-branch-list').on('click', 'a', function () {
+ $('#tag-target').val($(this).text());
+ $('#release-new-target-name').text(" " + $(this).text());
+ });
+ }());
}
(function ($) {