diff options
| author | Julien Mougenot <jum@odoo.com> | 2020-03-11 09:38:29 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-03-13 14:08:33 +0000 |
| commit | e68d3bb09d1f844387ceb20aa76022ace48507d9 (patch) | |
| tree | d238fa35dcb11e5628112377a9daf569405ca74b /addons/mail/static/src/js/views/activity/activity_controller.js | |
| parent | 18e5416636b19b0953b1e6e26bfaeab1ebecce4c (diff) | |
[REF] *: Adapt all modules to new control panel
Adaptation of the code throughout all modules to properly instantiate the newly
refactored control panel and update it accordingly.
Part of task 2196029
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/views/activity/activity_controller.js')
| -rw-r--r-- | addons/mail/static/src/js/views/activity/activity_controller.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/views/activity/activity_controller.js b/addons/mail/static/src/js/views/activity/activity_controller.js index 8de28d65cc9..106c5ee90f1 100644 --- a/addons/mail/static/src/js/views/activity/activity_controller.js +++ b/addons/mail/static/src/js/views/activity/activity_controller.js @@ -33,13 +33,18 @@ var ActivityController = BasicController.extend({ this._super.apply(this, arguments); this.title = params.title; }, + + //-------------------------------------------------------------------------- + // Private + //-------------------------------------------------------------------------- + /** * Overridden to remove the pager as it makes no sense in this view. * * @override */ - renderPager: function () { - return Promise.resolve(); + _getPagingInfo: function () { + return null; }, //-------------------------------------------------------------------------- |
