projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad17716
)
[FIX] mail: Chatter widget: keep void list of ids when fetching messages;
author
Thibault Delavallée
<tde@openerp.com>
Thu, 9 Jan 2014 10:01:37 +0000
(11:01 +0100)
committer
Thibault Delavallée
<tde@openerp.com>
Thu, 9 Jan 2014 10:01:37 +0000
(11:01 +0100)
only specific false ids should be replaced by a domain.
bzr revid: tde@openerp.com-
20140109100137
-7yy9em3klefz77ij
addons/mail/static/src/js/mail.js
patch
|
blob
|
history
diff --git
a/addons/mail/static/src/js/mail.js
b/addons/mail/static/src/js/mail.js
index
96b2184
..
64164b0
100644
(file)
--- a/
addons/mail/static/src/js/mail.js
+++ b/
addons/mail/static/src/js/mail.js
@@
-1416,7
+1416,7
@@
openerp.mail = function (session) {
message_fetch: function (replace_domain, replace_context, ids, callback) {
return this.ds_message.call('message_read', [
// ids force to read
- ids == false ? undefined : ids,
+ ids === false ? undefined : ids,
// domain + additional
(replace_domain ? replace_domain : this.domain),
// ids allready loaded