diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-07-30 10:02:03 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-07-30 12:45:53 +0200 |
| commit | ce2fdc02abb909d984abf28a4fdb45c072655da8 (patch) | |
| tree | 21855eb00f60b8731652ad89d69da76145159b08 | |
| parent | 7a519520f2d7758296dc8764e77bcf8d1d222107 (diff) | |
[FIX] im_livechat: bad rating=1 not 0 w/ 75d3121c
In 75d3121c9 the bad rating was change from 0 to 1.
This commit update the javascript feedback part so the behavior is the
one expected.
related to opw-1863312
closes #26043
| -rw-r--r-- | addons/im_livechat/static/src/js/im_livechat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/im_livechat/static/src/js/im_livechat.js b/addons/im_livechat/static/src/js/im_livechat.js index 878f5e268b6..1cb57e11265 100644 --- a/addons/im_livechat/static/src/js/im_livechat.js +++ b/addons/im_livechat/static/src/js/im_livechat.js @@ -280,7 +280,7 @@ var Feedback = Widget.extend({ // only display textearea if bad smiley selected var close_chat = false; - if (this.rating === 0) { + if (this.rating === 1) { this.$('.o_livechat_rating_reason').show(); } else { this.$('.o_livechat_rating_reason').hide(); |
