mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Fixed that a entered barcode on the product edit page was only saved when "adding" it to the barcodes list by pressing TAB (closes #269)
This commit is contained in:
parent
6b98fa85d3
commit
7c7c5db28c
@ -5,5 +5,6 @@
|
||||
- Fixed that login did not work when "Stay logged in permanently" was set on grocy runs on a 32-bit system (thanks @matejdro)
|
||||
- Fixed page reloads when "Auto reload on external changes" is enabled and there is unsaved form data (the detection did not work on forms in modal dialogs, e. g. when adding a entry to the meal plan)
|
||||
- Fixed (again) that the product picker did not work properly when the product name contains single quotes
|
||||
- Fixed that a entered barcode on the product edit page was only saved when "adding" it to the barcodes list by pressing `TAB` (is now automatically added to the list also when just leaving the field)
|
||||
- Improved that errors/messages from the API are shown properly when undoing a stock booking is not possible (stock journal page)
|
||||
- Improved night mode CSS (done by @BlizzWave, thanks!)
|
||||
|
@ -149,6 +149,11 @@ if (prefillBarcode !== undefined)
|
||||
$('#name').focus();
|
||||
}
|
||||
|
||||
$("#barcode-taginput").on("blur", function(e)
|
||||
{
|
||||
$("#barcode-taginput").tagsManager("pushTag", $("#barcode-taginput").val());
|
||||
});
|
||||
|
||||
$('.input-group-qu').on('change', function(e)
|
||||
{
|
||||
var quIdPurchase = $("#qu_id_purchase").val();
|
||||
|
Loading…
x
Reference in New Issue
Block a user