aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/users/form-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/form-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/users/form-view.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/form-view.js b/server/sonar-web/src/main/js/apps/users/form-view.js
index 85d8affe3bb..69d35741fa5 100644
--- a/server/sonar-web/src/main/js/apps/users/form-view.js
+++ b/server/sonar-web/src/main/js/apps/users/form-view.js
@@ -7,23 +7,23 @@ export default ModalForm.extend({
template: Template,
events: function () {
- return _.extend(this._super(), {
+ return _.extend(ModalForm.prototype.events.apply(this, arguments), {
'click #create-user-add-scm-account': 'onAddScmAccountClick'
});
},
onRender: function () {
- this._super();
+ ModalForm.prototype.onRender.apply(this, arguments);
this.$('[data-toggle="tooltip"]').tooltip({ container: 'body', placement: 'bottom' });
},
onDestroy: function () {
- this._super();
+ ModalForm.prototype.onDestroy.apply(this, arguments);
this.$('[data-toggle="tooltip"]').tooltip('destroy');
},
- onFormSubmit: function (e) {
- this._super(e);
+ onFormSubmit: function () {
+ ModalForm.prototype.onFormSubmit.apply(this, arguments);
this.sendRequest();
},