aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/groups/create-view.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-12-22 17:11:21 +0100
committerGitHub <noreply@github.com>2016-12-22 17:11:21 +0100
commitbc07b29494abd5dff7875175df91df38d0b908ac (patch)
tree05f82f8ca3787011e2a0810e7d85c9d81e4b222f /server/sonar-web/src/main/js/apps/groups/create-view.js
parente52ca10a4a1b07d05c894e0d8564ffa1b5af3e47 (diff)
downloadsonarqube-bc07b29494abd5dff7875175df91df38d0b908ac.tar.gz
sonarqube-bc07b29494abd5dff7875175df91df38d0b908ac.zip
upgrade eslint and its plugins, tune rules (#1481)
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);
});