wip
This commit is contained in:
parent
32547e495f
commit
e5cd68a4ad
2 changed files with 9 additions and 2 deletions
|
|
@ -226,10 +226,14 @@ $(function() {
|
|||
$('a[data-decrease_tolerance]').on('touchclick', function() {
|
||||
decreaseTolerance($(this).data('decrease_tolerance'));
|
||||
});
|
||||
|
||||
$('a[data-reorder_previous]').on('touchclick', function() {
|
||||
console.log('reorder_previous');
|
||||
update($(this).data('reorder_previous'), $(this).data('quantity'), $(this).data('tolerance'));
|
||||
});
|
||||
|
||||
$('a[data-confirm_switch_order]').on('touchclick', function() {
|
||||
return (!modified || confirm(I18n.t('js.ordering.confirm_change')));
|
||||
});
|
||||
|
||||
updateButtons($(document));
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue