diff --git a/public/js/index.js b/public/js/index.js index 37689e41c..b24da8555 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -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 diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index fc4b812b2..fa7a05512 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -338,7 +338,7 @@ {{if .CanCreateIssueDependencies}} - +