Browse Source

Fixed wrong api request url for instances running in subfolders (#5247)

tags/v1.7.0-dev
kolaente 7 years ago committed by Lauris BH
parent
commit
54259e2f88
  1. 2
      public/js/index.js

2
public/js/index.js

@ -2626,7 +2626,7 @@ function initIssueList() {
$('.new-dependency-drop-list')
.dropdown({
apiSettings: {
url: '/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

Loading…
Cancel
Save