[FIX] mail: chatter read more/less expand first oe_msg_body_long/short in the first oe_msg_body
Otherwise, if the mail itself contains a oe_msg_body_long (because sent in the mail history), it will open that one
This commit is contained in:
parent
b6e6b57326
commit
45b4b71fa4
|
@ -973,8 +973,8 @@ openerp.mail = function (session) {
|
|||
|
||||
on_expand: function (event) {
|
||||
event.stopPropagation();
|
||||
this.$('.oe_msg_body_short:first').toggle();
|
||||
this.$('.oe_msg_body_long:first').toggle();
|
||||
this.$('.oe_msg_body:first > .oe_msg_body_short:first').toggle();
|
||||
this.$('.oe_msg_body:first > .oe_msg_body_long:first').toggle();
|
||||
return false;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue