[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:
parent
e46ddc2c21
commit
3d057c36f6
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue