[IMP] mail_followers widget: start now calls its super, and override of set_value is not necessary anymore.

bzr revid: tde@openerp.com-20121019120648-kh4ct8kobijvirev
This commit is contained in:
Thibault Delavallée 2012-10-19 14:06:48 +02:00
parent e46ddc2c21
commit 3d057c36f6
1 changed files with 1 additions and 7 deletions

View File

@ -39,6 +39,7 @@ openerp_mail_followers = function(session, mail) {
this._check_visibility();
this.reinit();
this.bind_events();
this._super();
},
_check_visibility: function() {
@ -90,13 +91,6 @@ openerp_mail_followers = function(session, mail) {
});
},
set_value: function (value_) {
this._super(value_);
// TDE FIXME: render_value is never called... ask to niv
// TDE TODO: in start, call this._super(), should resolve this issue
this.render_value();
},
render_value: function () {
this.reinit();
return this.fetch_followers(this.get("value"));