diff options
| author | dbh <dbh@odoo.com> | 2018-02-05 15:27:21 +0530 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2018-03-30 15:30:37 +0200 |
| commit | ea97fa3ac6f51eb982d97812a6082616fff6e167 (patch) | |
| tree | 67339f5ee1feb5400fc8609f0065dc219e77c09f /addons/mail/static/src/js/thread.js | |
| parent | c5c2b4855bd6f2adf2f9a6e1f5cec159c4766169 (diff) | |
[IMP] mail: Discuss: load older messages automatically
After this rev., in Discuss, messages are automatically loaded when
the user scrolls to the top of the channel.
Task 33958
Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/thread.js')
| -rw-r--r-- | addons/mail/static/src/js/thread.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/thread.js b/addons/mail/static/src/js/thread.js index 97b6bf4906f..8e08ecfa73a 100644 --- a/addons/mail/static/src/js/thread.js +++ b/addons/mail/static/src/js/thread.js @@ -83,6 +83,7 @@ var Thread = Widget.extend({ squash_close_messages: true, display_email_icon: true, display_reply_icon: false, + loadMoreOnScroll: false, }); this.disabledOptions = { display_order: this.enabledOptions.display_order, @@ -93,6 +94,7 @@ var Thread = Widget.extend({ squash_close_messages: false, display_email_icon: false, display_reply_icon: false, + loadMoreOnScroll: this.enabledOptions.loadMoreOnScroll, }; this.expanded_msg_ids = []; this.selected_id = null; |
