aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/global-permissions/groups-view.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-02-02 09:59:36 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-02-19 11:01:56 +0100
commit2ee64e504b6921fd2d2f2d183e425904bc492c9d (patch)
tree37b02f07c7a819f4cd9f41d2a1b83ac37445c376 /server/sonar-web/src/main/js/apps/global-permissions/groups-view.js
parent0c2b2d0afe3f28f7075fcadb78a81c59a21b34d3 (diff)
downloadsonarqube-2ee64e504b6921fd2d2f2d183e425904bc492c9d.tar.gz
sonarqube-2ee64e504b6921fd2d2f2d183e425904bc492c9d.zip
SONAR-7122 drop web context from js code
Diffstat (limited to 'server/sonar-web/src/main/js/apps/global-permissions/groups-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/global-permissions/groups-view.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/global-permissions/groups-view.js b/server/sonar-web/src/main/js/apps/global-permissions/groups-view.js
index 45a774c3a9d..c29c1eeba85 100644
--- a/server/sonar-web/src/main/js/apps/global-permissions/groups-view.js
+++ b/server/sonar-web/src/main/js/apps/global-permissions/groups-view.js
@@ -22,7 +22,7 @@ import Template from './templates/global-permissions-groups.hbs';
import '../../components/SelectList';
function getSearchUrl (permission, project) {
- var url = baseUrl + '/api/permissions/groups?ps=100&permission=' + permission;
+ var url = '/api/permissions/groups?ps=100&permission=' + permission;
if (project) {
url = url + '&projectId=' + project;
}
@@ -52,8 +52,8 @@ export default Modal.extend({
},
queryParam: 'q',
searchUrl: getSearchUrl(this.options.permission, this.options.project),
- selectUrl: baseUrl + '/api/permissions/add_group',
- deselectUrl: baseUrl + '/api/permissions/remove_group',
+ selectUrl: '/api/permissions/add_group',
+ deselectUrl: '/api/permissions/remove_group',
extra: getExtra(this.options.permission, this.options.project),
selectParameter: 'groupName',
selectParameterValue: 'name',