From 81b6adcda7aa9adc4ad3f8b16905e3afe0e50170 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 7 Nov 2018 10:35:54 +0000 Subject: [FIX] mail: traceback reply button typo cd34f6de72 There was a typo with msgID at one part called messageID in another. opw-1904029 closes #28465 --- addons/mail/static/src/js/thread_widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/mail/static/src/js/thread_widget.js') 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 ? -- cgit v1.2.3