thecore_dataentry_commons 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ceee7ada1a8d192f435b54683b7298204a2bb2252a9cf59209d8177caa83240
|
4
|
+
data.tar.gz: 7ac3ddbbeb31778e5d51cc8fe67d5f24e1c8dc9472990059da0f3fb3681049f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d4dd89932353cc3159eeac5f5d25efd2bb6420b67f72ad6693c5025c4f29a36c4dc33f1ec02e4bcf5fda792d72c7e2227fd46896837b8283ecd2c7eff124a08
|
7
|
+
data.tar.gz: '074814a7ead7fbfe99a36623684a0c64ebd3b2a25e405b54932cced278b29285e238928c88f4e6866c32481653313646813890dc74545b5b840648ce3df6e050'
|
@@ -21,10 +21,8 @@
|
|
21
21
|
}
|
22
22
|
// var clickedBtn; var code; Gestisco il keypress sull'input
|
23
23
|
function manageScannedKeystrokes(event) {
|
24
|
+
console.log(`Keycode: ${keycode} && Is ctrlKey pressed? ${event.ctrlKey}`);
|
24
25
|
if (event.ctrlKey && keycode == '32') {
|
25
|
-
event.preventDefault();
|
26
|
-
console.log(`Keycode: ${keycode}`);
|
27
|
-
console.log(`Is ctrlKey? ${event.ctrlKey}`);
|
28
26
|
$("#data-action").click();
|
29
27
|
//return true;
|
30
28
|
} else if(!keypressAndReturn(event) && event.target.id != "barcode") {
|
@@ -38,6 +36,7 @@
|
|
38
36
|
});
|
39
37
|
}
|
40
38
|
event.stopPropagation();
|
39
|
+
event.preventDefault();
|
41
40
|
}
|
42
41
|
|
43
42
|
function enableKSCapture(){
|