소스 검색

mirror fix on release JS

Unknwon 10 년 전
부모
커밋
cf7ebfbdc8
2개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      public/ng/js/gogs.js
  2. 0 0
      public/ng/js/min/gogs-min.js

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

@@ -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');
+        }
     })
 }
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
public/ng/js/min/gogs-min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.