[IMP]:improved code. set default while reload and create

bzr revid: apa@tinyerp.com-20120828092723-oogxsd60t348defy
This commit is contained in:
Amit Patel (OpenERP)
2012-08-28 14:57:23 +05:30
parent 65d83c3620
commit 362e7e3102
+1 -1
View File
@@ -101,7 +101,7 @@ openerp_mail_followers = function(session, mail) {
display_subscribers: function (records) {
var self = this;
this.is_subscriber = false;
if (this.view.get("actual_mode") !== "create"){self.update_subtype();}
if (this.view.get("actual_mode") === "edit"){self.update_subtype();}
var user_list = this.$el.find('ul.oe_mail_followers_display').empty();
this.$el.find('div.oe_mail_recthread_followers h4').html(this.params.title + ' (' + records.length + ')');
_(records).each(function (record) {