diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-11-07 10:35:54 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-11-07 10:38:14 +0000 |
| commit | 81b6adcda7aa9adc4ad3f8b16905e3afe0e50170 (patch) | |
| tree | c103655893dccfa943db44adcf92151ced741cbf /addons/mail/static/src/js/thread_widget.js | |
| parent | 233bae7de957d9458a927f3812bd1c5bf03d87cc (diff) | |
[FIX] mail: traceback reply button typo cd34f6de72
There was a typo with msgID at one part called messageID in another.
opw-1904029
closes #28465
Diffstat (limited to 'addons/mail/static/src/js/thread_widget.js')
| -rw-r--r-- | addons/mail/static/src/js/thread_widget.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/thread_widget.js b/addons/mail/static/src/js/thread_widget.js index aff6b27bfdd..e6da87c6dba 100644 --- a/addons/mail/static/src/js/thread_widget.js +++ b/addons/mail/static/src/js/thread_widget.js @@ -284,12 +284,12 @@ var ThreadWidget = Widget.extend({ /** * Scrolls the thread to a given message * - * @param {integer} options.messageID the ID of the message to scroll to + * @param {integer} options.msgID the ID of the message to scroll to * @param {integer} [options.duration] * @param {boolean} [options.onlyIfNecessary] */ scrollToMessage: function (options) { - var $target = this.$('.o_thread_message[data-message-id="' + options.messageID + '"]'); + var $target = this.$('.o_thread_message[data-message-id="' + options.msgID + '"]'); if (options.onlyIfNecessary) { var delta = $target.parent().height() - $target.height(); var offset = delta < 0 ? |
