mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	@@ -2314,6 +2314,7 @@ $(document).ready(async () => {
 | 
			
		||||
  $('.delete-button').on('click', showDeletePopup);
 | 
			
		||||
  $('.add-all-button').on('click', showAddAllPopup);
 | 
			
		||||
  $('.link-action').on('click', linkAction);
 | 
			
		||||
  $('.language-menu a[lang]').on('click', linkLanguageAction);
 | 
			
		||||
  $('.link-email-action').on('click', linkEmailAction);
 | 
			
		||||
 | 
			
		||||
  $('.delete-branch-button').on('click', showDeletePopup);
 | 
			
		||||
@@ -2602,6 +2603,13 @@ function linkAction(e) {
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function linkLanguageAction() {
 | 
			
		||||
  const $this = $(this);
 | 
			
		||||
  $.post($this.data('url')).always(() => {
 | 
			
		||||
    window.location.reload();
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function linkEmailAction(e) {
 | 
			
		||||
  const $this = $(this);
 | 
			
		||||
  $('#form-uid').val($this.data('uid'));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user