View | Details | Raw Unified | Return to bug 41408
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt (-3 / +6 lines)
Lines 423-430 Link Here
423
423
424
                    // Handle blur and Enter key events
424
                    // Handle blur and Enter key events
425
                    input.addEventListener('blur', updateCell);
425
                    input.addEventListener('blur', updateCell);
426
                    input.addEventListener('keyup', function(e) {
426
                    input.addEventListener('keydown', function(e) {
427
                        if (e.key === 'Enter') updateCell();
427
                        if (e.key === 'Enter') {
428
                            e.preventDefault();
429
                            e.stopPropagation();
430
                            updateCell();
431
                        }
428
                    });
432
                    });
429
433
430
                    function updateCell() {
434
                    function updateCell() {
431
- 

Return to bug 41408