summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js
diff options
context:
space:
mode:
authorParamjit Singh Sahota <psa@tinyerp.com>2013-07-15 14:19:07 +0530
committerParamjit Singh Sahota <psa@tinyerp.com>2013-07-15 14:19:07 +0530
commit21e3d7cdc49fb2bf700ae8a0baa2d54cb39ac4c4 (patch)
treeae1eed5eec3568ed0745e5d3a9d6ffb69c2d5532 /addons/mail/static/src/js
parent670710b88eb596ab9f6e8587de3d43ac133c0e18 (diff)
[IMP] 2 little improvements when their is no subtype than no edit_subtype pencil will be visible and bydefault set the message_is_follower to false because when no followers are there than subtypes muzt not be visible.
bzr revid: psa@tinyerp.com-20130715084907-nrd2oileuyr30nep
Diffstat (limited to 'addons/mail/static/src/js')
-rw-r--r--addons/mail/static/src/js/mail_followers.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/mail_followers.js b/addons/mail/static/src/js/mail_followers.js
index 4fec4ff3fd3..19b001f45a8 100644
--- a/addons/mail/static/src/js/mail_followers.js
+++ b/addons/mail/static/src/js/mail_followers.js
@@ -193,6 +193,7 @@ openerp_mail_followers = function(session, mail) {
/** Display the followers */
display_followers: function (records) {
var self = this;
+ this.message_is_follower = false;
this.followers = records || this.followers;
// clean and display title
var node_user_list = this.$('.oe_follower_list').empty();