From 8758afd045e7ac7d7f630cfa02b871012c06b547 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 31 Dec 2012 15:35:33 +0100 Subject: [PATCH] [IMP] mail: js: get_from back to get_emails_from bzr revid: chm@openerp.com-20121231143533-lpo5f2eg20zkf2el --- addons/mail/static/src/js/mail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 953cc907f25..41adf0b2ab0 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -642,7 +642,7 @@ openerp.mail = function (session) { /* convert the compact mode into the compose message */ on_compose_expandable: function (event) { - this.get_from(); + this.get_emails_from(); if ((!this.stay_open || (event && event.type == 'click')) && (!this.show_composer || !this.$('textarea:not(.oe_compact)').val().match(/\S+/) && !this.attachment_ids.length)) { this.show_composer = !this.show_composer || this.stay_open; this.reinit(); @@ -667,7 +667,7 @@ openerp.mail = function (session) { } }, - get_from: function () { + get_emails_from: function () { var self = this; var messages = [];