[IMP] mail: js: get_from back to get_emails_from

bzr revid: chm@openerp.com-20121231143533-lpo5f2eg20zkf2el
This commit is contained in:
Christophe Matthieu 2012-12-31 15:35:33 +01:00
parent 876e53dfcf
commit 8758afd045
1 changed files with 2 additions and 2 deletions

View File

@ -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 = [];