diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-12-22 17:11:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 17:11:21 +0100 |
commit | bc07b29494abd5dff7875175df91df38d0b908ac (patch) | |
tree | 05f82f8ca3787011e2a0810e7d85c9d81e4b222f /server/sonar-web/src/main/js/apps/groups/create-view.js | |
parent | e52ca10a4a1b07d05c894e0d8564ffa1b5af3e47 (diff) | |
download | sonarqube-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.js | 4 |
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); }); |