Browse Source

!fixup bugfix thanks to @mclaeysb

pull/428/head
Pierrick Brun 5 years ago
parent
commit
ffc9f93f75
  1. 4
      pos_mail_receipt/static/src/js/screens.js

4
pos_mail_receipt/static/src/js/screens.js

@ -79,14 +79,14 @@ odoo.define("pos_mail_receipt.screens", function (require) {
'title': error.data.message, 'title': error.data.message,
'body': error.data.debug 'body': error.data.debug
}); });
this.$('.button.email').removeClass("highlight");
self.$('.button.email').removeClass("highlight");
} }
if(connection_problem){ if(connection_problem){
self.gui.show_popup('error',{ self.gui.show_popup('error',{
'title': _t('The e-mail could not be sent'), 'title': _t('The e-mail could not be sent'),
'body': _t('Check your internet connection and try again.'), 'body': _t('Check your internet connection and try again.'),
}); });
this.$('.button.email').removeClass("highlight");
self.$('.button.email').removeClass("highlight");
} }
}); });
}, },

Loading…
Cancel
Save