aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/custom-measures/list-footer-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/custom-measures/list-footer-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/custom-measures/list-footer-view.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/custom-measures/list-footer-view.js b/server/sonar-web/src/main/js/apps/custom-measures/list-footer-view.js
index 6ca83eb4990..d66c27ad335 100644
--- a/server/sonar-web/src/main/js/apps/custom-measures/list-footer-view.js
+++ b/server/sonar-web/src/main/js/apps/custom-measures/list-footer-view.js
@@ -1,7 +1,6 @@
define([
- 'backbone.marionette',
'./templates'
-], function (Marionette) {
+], function () {
return Marionette.ItemView.extend({
template: Templates['custom-measures-list-footer'],
@@ -24,7 +23,7 @@ define([
},
serializeData: function () {
- return _.extend(Marionette.ItemView.prototype.serializeData.apply(this, arguments), {
+ return _.extend(this._super(), {
total: this.collection.total,
count: this.collection.length,
more: this.collection.hasMore()