diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-09-10 10:42:07 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-09-10 12:26:16 +0200 |
commit | e1b6cbcba2e342b4671a1bf88e1fd174b55b44cf (patch) | |
tree | 38069eebe3c0ccbcfc2e612f74dbd1dfd772c380 /server/sonar-web/src/main/js/apps/provisioning/list-footer-view.js | |
parent | 5981d630ff9637a78868d989f22a3f10f15306c5 (diff) | |
download | sonarqube-e1b6cbcba2e342b4671a1bf88e1fd174b55b44cf.tar.gz sonarqube-e1b6cbcba2e342b4671a1bf88e1fd174b55b44cf.zip |
Revert "use single web app"
Diffstat (limited to 'server/sonar-web/src/main/js/apps/provisioning/list-footer-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/provisioning/list-footer-view.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/provisioning/list-footer-view.js b/server/sonar-web/src/main/js/apps/provisioning/list-footer-view.js index 76176ca4769..902b9322372 100644 --- a/server/sonar-web/src/main/js/apps/provisioning/list-footer-view.js +++ b/server/sonar-web/src/main/js/apps/provisioning/list-footer-view.js @@ -1,7 +1,6 @@ define([ - 'backbone.marionette', './templates' -], function (Marionette) { +], function () { return Marionette.ItemView.extend({ template: Templates['provisioning-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() |