[FIX] mail: Typo in mail.js.

This commit is contained in:
Manuel Vázquez Acosta 2015-07-29 10:14:54 -04:00 committed by Martin Trigaux
parent 75092f0a14
commit d49c16e99a
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ openerp.mail = function (session) {
*/
on_attachment_loaded: function (event, result) {
if (result.erorr || !result.id ) {
if (result.error || !result.id ) {
this.do_warn( session.web.qweb.render('mail.error_upload'), result.error);
this.attachment_ids = _.filter(this.attachment_ids, function (val) { return !val.upload; });
} else {