diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/metrics/update-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/metrics/update-view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/metrics/update-view.js b/server/sonar-web/src/main/js/apps/metrics/update-view.js index fe09aa5592f..915e2f8a23d 100644 --- a/server/sonar-web/src/main/js/apps/metrics/update-view.js +++ b/server/sonar-web/src/main/js/apps/metrics/update-view.js @@ -21,8 +21,8 @@ import FormView from './form-view'; export default FormView.extend({ - sendRequest: function () { - var that = this; + sendRequest () { + const that = this; this.model.set({ key: this.$('#create-metric-key').val(), name: this.$('#create-metric-name').val(), |