thecore_dataentry_commons 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e47369663c5c11c418b9344a7f3c482cc757a719461b515058da94428cee707f
|
4
|
+
data.tar.gz: cc88a743b45ae878b3a8fbfaf05ebb436f96aa179f3e8d43909a47597ada656c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d3b4c6f47f7bfba128a12975ea14a2440365472215b0b611cb7ee52e74ce6d828f66f73acd2051d322cb26a4f7fea34c6105cef1c3d8a09ef90aa7bc05140dc
|
7
|
+
data.tar.gz: 01df57e23bbafdc8db1989e55827a5ddf311b20fd3b9d4677abc8c3794683d328dfaf7fc0a90cedbd97f07ebe6b76b6c8aef6d97dd250ca732425f2306680454
|
@@ -24,12 +24,16 @@
|
|
24
24
|
// var clickedBtn; var code; Gestisco il keypress sull'input
|
25
25
|
function manageScannedKeystrokes(event) {
|
26
26
|
event.stopPropagation();
|
27
|
-
if(
|
27
|
+
if (event.ctrlKey && keycode == '32') {
|
28
|
+
console.log(`Keycode: ${keycode}`);
|
29
|
+
console.log(`Is ctrlKey? ${event.ctrlKey}`);
|
30
|
+
$("#data-action").click();
|
31
|
+
//return true;
|
32
|
+
} else if(!keypressAndReturn(event) && event.target.id != "barcode") {
|
28
33
|
// $("#send").focus();
|
29
34
|
// Scrivilo nell'input field (accumulando)
|
30
35
|
// Only if target.id is different from "barcode"
|
31
36
|
// Otherwise well get duplicate keystrokes
|
32
|
-
if(event.target.id != "barcode")
|
33
37
|
$("#barcode").val(function (index, val) {
|
34
38
|
// Write
|
35
39
|
return val + event.key;
|