[FIX] mail: followers widget: wrong default value when calling read_followers_data, should be a list, not a dict

bzr revid: tde@openerp.com-20131017131634-b1j9evzgu9q837i8
This commit is contained in:
Thibault Delavallée 2013-10-17 15:16:34 +02:00
parent d15798786a
commit 438b06ef13
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ openerp_mail_followers = function(session, mail) {
},
fetch_followers: function (value_) {
this.value = value_ || {};
this.value = value_ || [];
return this.ds_model.call('read_followers_data', [this.value])
.then(this.proxy('display_followers'), this.proxy('fetch_generic'))
.then(this.proxy('display_buttons'))