From f4b70e9ae347c0bf2b2e81b920253c69a35bbe6d Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 19 Apr 2020 15:01:58 +0200 Subject: [PATCH] Fixed product edit page barcodes field tab handling (fixes #764) --- changelog/60_UNRELEASED_2020-xx-xx.md | 3 +++ public/viewjs/productform.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog/60_UNRELEASED_2020-xx-xx.md b/changelog/60_UNRELEASED_2020-xx-xx.md index 033a7fe0..8a1d3698 100644 --- a/changelog/60_UNRELEASED_2020-xx-xx.md +++ b/changelog/60_UNRELEASED_2020-xx-xx.md @@ -1,3 +1,6 @@ +### Stock fixes +- Fixed that it was not possible to leave the "Barcode(s)" on the product edit page by `TAB` + ### Calendar fixes - Fixed a PHP warning when using the "Share/Integrate calendar (iCal)" button (thanks @tsia) diff --git a/public/viewjs/productform.js b/public/viewjs/productform.js index c2bbe6f2..4e4edaa6 100644 --- a/public/viewjs/productform.js +++ b/public/viewjs/productform.js @@ -169,7 +169,8 @@ $('#barcode-taginput').tagsManager({ 'hiddenTagListName': 'barcode', 'tagsContainer': '#barcode-taginput-container', - 'tagClass': 'badge badge-secondary' + 'tagClass': 'badge badge-secondary', + 'delimiters': [13, 44] }); if (Grocy.EditMode === 'edit')