diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/create-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/create-view.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/create-view.js b/server/sonar-web/src/main/js/apps/projects/create-view.js index fbc52a1dd41..4bff6436515 100644 --- a/server/sonar-web/src/main/js/apps/projects/create-view.js +++ b/server/sonar-web/src/main/js/apps/projects/create-view.js @@ -25,22 +25,22 @@ import Template from './templates/projects-create-form.hbs'; export default ModalForm.extend({ template: Template, - onRender: function () { + onRender () { ModalForm.prototype.onRender.apply(this, arguments); this.$('[data-toggle="tooltip"]').tooltip({ container: 'body', placement: 'bottom' }); }, - onDestroy: function () { + onDestroy () { ModalForm.prototype.onDestroy.apply(this, arguments); this.$('[data-toggle="tooltip"]').tooltip('destroy'); }, - onFormSubmit: function () { + onFormSubmit () { ModalForm.prototype.onFormSubmit.apply(this, arguments); this.sendRequest(); }, - sendRequest: function () { + sendRequest () { let data = { name: this.$('#create-project-name').val(), branch: this.$('#create-project-branch').val(), |