mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							773addf727
						
					
				
				
					commit
					328e38ebc7
				
			@@ -2625,7 +2625,7 @@ function initIssueList() {
 | 
			
		||||
    $('.new-dependency-drop-list')
 | 
			
		||||
        .dropdown({
 | 
			
		||||
            apiSettings: {
 | 
			
		||||
                url: suburl + '/api/v1/repos' + repolink + '/issues?q={query}',
 | 
			
		||||
                url: suburl + '/api/v1/repos/' + repolink + '/issues?q={query}',
 | 
			
		||||
                onResponse: function(response) {
 | 
			
		||||
                    var filteredResponse = {'success': true, 'results': []};
 | 
			
		||||
                    // Parse the response from the api to work with our dropdown
 | 
			
		||||
 
 | 
			
		||||
@@ -338,7 +338,7 @@
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
{{if .CanCreateIssueDependencies}}
 | 
			
		||||
	<input type="hidden" id="repolink" value="{{$.RepoLink}}">
 | 
			
		||||
	<input type="hidden" id="repolink" value="{{$.RepoRelPath}}">
 | 
			
		||||
	<!-- I know, there is probably a better way to do this -->
 | 
			
		||||
	<input type="hidden" id="issueIndex" value="{{.Issue.Index}}"/>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user