aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/groups/create-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/groups/create-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/groups/create-view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/groups/create-view.js b/server/sonar-web/src/main/js/apps/groups/create-view.js
index f39b361be58..55dbef7c44d 100644
--- a/server/sonar-web/src/main/js/apps/groups/create-view.js
+++ b/server/sonar-web/src/main/js/apps/groups/create-view.js
@@ -34,10 +34,10 @@ export default FormView.extend({
// do not show global error
400: null
}
- }).done(function () {
+ }).done(() => {
that.collection.refresh();
that.destroy();
- }).fail(function (jqXHR) {
+ }).fail(jqXHR => {
that.enableForm();
that.showErrors(jqXHR.responseJSON.errors, jqXHR.responseJSON.warnings);
});