[REM]: Remove unused length

bzr revid: atp@tinyerp.com-20120907122936-tyk4kdapozh8ed0n
This commit is contained in:
Atul Patel (OpenERP) 2012-09-07 17:59:36 +05:30
parent e82782e1f6
commit 56f7b22cc0
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ openerp.mail = function(session) {
var self = this;
this.ds_message.call('message_read', [[parseInt(message_id)]]).then(function(result){
vote_count = 0;
if (result[0].vote_user_ids){length
if (result[0].vote_user_ids){
vote_count = result[0].vote_user_ids.length;
}
parent_element = self.find_parent_element(".oe_mail_msg_vote", message_id);