aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/groups/users-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/groups/users-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/groups/users-view.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/groups/users-view.js b/server/sonar-web/src/main/js/apps/groups/users-view.js
index 5db80139c8b..de5901fc5f1 100644
--- a/server/sonar-web/src/main/js/apps/groups/users-view.js
+++ b/server/sonar-web/src/main/js/apps/groups/users-view.js
@@ -8,8 +8,7 @@ define([
template: Templates['groups-users'],
onRender: function () {
- Modal.prototype.onRender.apply(this, arguments);
- //noinspection Eslint
+ this._super();
new window.SelectList({
el: this.$('#groups-users'),
width: '100%',
@@ -19,9 +18,9 @@ define([
return item.name + '<br><span class="note">' + item.login + '</span>';
},
queryParam: 'q',
- searchUrl: window.baseUrl + '/api/usergroups/users?ps=100&id=' + this.model.id,
- selectUrl: window.baseUrl + '/api/usergroups/add_user',
- deselectUrl: window.baseUrl + '/api/usergroups/remove_user',
+ searchUrl: baseUrl + '/api/usergroups/users?ps=100&id=' + this.model.id,
+ selectUrl: baseUrl + '/api/usergroups/add_user',
+ deselectUrl: baseUrl + '/api/usergroups/remove_user',
extra: {
id: this.model.id
},
@@ -36,7 +35,7 @@ define([
onDestroy: function () {
this.model.collection.refresh();
- Modal.prototype.onDestroy.apply(this, arguments);
+ this._super();
}
});