diff options
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.js | 11 |
1 files changed, 6 insertions, 5 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 de5901fc5f1..5db80139c8b 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,7 +8,8 @@ define([ template: Templates['groups-users'], onRender: function () { - this._super(); + Modal.prototype.onRender.apply(this, arguments); + //noinspection Eslint new window.SelectList({ el: this.$('#groups-users'), width: '100%', @@ -18,9 +19,9 @@ define([ return item.name + '<br><span class="note">' + item.login + '</span>'; }, queryParam: 'q', - searchUrl: baseUrl + '/api/usergroups/users?ps=100&id=' + this.model.id, - selectUrl: baseUrl + '/api/usergroups/add_user', - deselectUrl: baseUrl + '/api/usergroups/remove_user', + 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', extra: { id: this.model.id }, @@ -35,7 +36,7 @@ define([ onDestroy: function () { this.model.collection.refresh(); - this._super(); + Modal.prototype.onDestroy.apply(this, arguments); } }); |