[FIX] mail: Typo in mail.js.

This commit is contained in:
Manuel Vázquez Acosta
2015-07-30 14:50:57 +02:00
committed by Martin Trigaux
parent 75092f0a14
commit d49c16e99a
+1 -1
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 {