Browse Source

mirror fix on release JS

tags/v1.2.0-rc1
Unknwon 11 years ago
parent
commit
cf7ebfbdc8
2 changed files with 10 additions and 5 deletions
  1. +7
    -2
      public/ng/js/gogs.js
  2. +3
    -3
      public/ng/js/min/gogs-min.js

+ 7
- 2
public/ng/js/gogs.js View File

@@ -435,8 +435,13 @@ function initHookTypeChange() {

function initRepoRelease() {
$('#release-new-target-branch-list li').click(function() {
$('#repo-branch-current').text($(this).text());
$('#tag-target').val($(this).text());
if (!$(this).hasClass('checked')) {
$('#repo-branch-current').text($(this).text());
$('#tag-target').val($(this).text());

$(this).parent().find('.checked').removeClass('checked');
$(this).addClass('checked');
}
})
}



+ 3
- 3
public/ng/js/min/gogs-min.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save