summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-07-30 10:02:03 +0200
committerNicolas Lempereur <nle@odoo.com>2018-07-30 12:45:53 +0200
commitce2fdc02abb909d984abf28a4fdb45c072655da8 (patch)
tree21855eb00f60b8731652ad89d69da76145159b08 /addons
parent7a519520f2d7758296dc8764e77bcf8d1d222107 (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
Diffstat (limited to 'addons')
-rw-r--r--addons/im_livechat/static/src/js/im_livechat.js2
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();