aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/actions-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/actions-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/actions-view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/actions-view.js b/server/sonar-web/src/main/js/apps/quality-gates/actions-view.js
index 3e8f89e51e6..8e22e0b9b8c 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/actions-view.js
+++ b/server/sonar-web/src/main/js/apps/quality-gates/actions-view.js
@@ -29,14 +29,14 @@ export default Marionette.ItemView.extend({
'click #quality-gate-add': 'add'
},
- add: function (e) {
+ add (e) {
e.preventDefault();
new CreateView({
collection: this.collection
}).render();
},
- serializeData: function () {
+ serializeData () {
return _.extend(Marionette.ItemView.prototype.serializeData.apply(this, arguments), {
canEdit: this.options.canEdit
});