aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/project-permissions/groups-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-permissions/groups-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/project-permissions/groups-view.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-permissions/groups-view.js b/server/sonar-web/src/main/js/apps/project-permissions/groups-view.js
index 1a4658b68ff..e869fc85394 100644
--- a/server/sonar-web/src/main/js/apps/project-permissions/groups-view.js
+++ b/server/sonar-web/src/main/js/apps/project-permissions/groups-view.js
@@ -29,14 +29,14 @@ function getSearchUrl (permission, project) {
export default Modal.extend({
template: Template,
- onRender: function () {
+ onRender () {
Modal.prototype.onRender.apply(this, arguments);
new window.SelectList({
el: this.$('#project-permissions-groups'),
width: '100%',
readOnly: false,
focusSearch: false,
- format: function (item) {
+ format (item) {
return item.name;
},
queryParam: 'q',
@@ -49,21 +49,21 @@ export default Modal.extend({
},
selectParameter: 'groupName',
selectParameterValue: 'name',
- parse: function (r) {
+ parse (r) {
this.more = false;
return r.groups;
}
});
},
- onDestroy: function () {
+ onDestroy () {
if (this.options.refresh) {
this.options.refresh();
}
Modal.prototype.onDestroy.apply(this, arguments);
},
- serializeData: function () {
+ serializeData () {
return _.extend(Modal.prototype.serializeData.apply(this, arguments), {
projectName: this.options.projectName
});