[FIX] mail: Typo in mail.js.
This commit is contained in:
parent
75092f0a14
commit
d49c16e99a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue