[IMP] point_of_sale: make the confirm action color less frightening & longer delay

This commit is contained in:
Frederic van der Essen 2014-08-11 13:39:39 +02:00
parent 4f55c9d68d
commit 37a2f10127
2 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ td {
color:#EEE;
}
.pos .pos-rightheader .header-button.confirm {
background: #F03F00;
background: #359766;
color: white;
font-weight: bold;
}

View File

@ -1140,7 +1140,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
self.$el.removeClass('confirm');
self.$el.text(_t('Close'));
self.confirmed = false;
},900);
},2000);
} else {
clearTimeout(this.confirmed);
this.pos_widget.close();