mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	upgrade new issue to SUI v2
This commit is contained in:
		@@ -104,11 +104,13 @@ function initRepository() {
 | 
			
		||||
 | 
			
		||||
    // Pull request
 | 
			
		||||
    if ($('.repository.compare.pull').length > 0) {
 | 
			
		||||
        $('.choose.branch .dropdown').dropdown({
 | 
			
		||||
        var $branch_dropdown = $('.choose.branch .dropdown')
 | 
			
		||||
        $branch_dropdown.dropdown({
 | 
			
		||||
            fullTextSearch: true,
 | 
			
		||||
            onChange: function (text, value, $choice) {
 | 
			
		||||
                window.location.href = $choice.data('url');
 | 
			
		||||
            }
 | 
			
		||||
            },
 | 
			
		||||
            message: {noResults: $branch_dropdown.data('no-results')}
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user