mirror of
https://github.com/grocy/grocy.git
synced 2025-08-22 21:10:47 +00:00
Unified form validation handling
This commit is contained in:
@@ -8,7 +8,7 @@ $("#scanned_barcode").on("blur", function(e)
|
||||
|
||||
$("#scanned_barcode").keydown(function(event)
|
||||
{
|
||||
if (event.keyCode === 13) //Enter
|
||||
if (event.keyCode === 13) // Enter
|
||||
{
|
||||
event.preventDefault();
|
||||
OnBarcodeScanned($("#scanned_barcode").val());
|
||||
|
Reference in New Issue
Block a user