thecore_dataentry_commons 1.4.1 → 1.4.2

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: 357d16bea0f5e62fafe5cbd15ee2fb41b16fe5e8150d3f86b7d08135c6385033
4
- data.tar.gz: acd6a0b3d702ecf12184c5b9c12586ce45e195c5c63e976b5f8da0b8cdbc1f0f
3
+ metadata.gz: 1ceee7ada1a8d192f435b54683b7298204a2bb2252a9cf59209d8177caa83240
4
+ data.tar.gz: 7ac3ddbbeb31778e5d51cc8fe67d5f24e1c8dc9472990059da0f3fb3681049f1
5
5
  SHA512:
6
- metadata.gz: faa18aee7455ce7ea0d25f0c3e5774080d5761984801aea30b7ace61bc748b9c9c429b6db631cbd71aa17e646bbfe51007f48ce77d259136a631a7ab21766b1b
7
- data.tar.gz: 47e451b47ab4480801263afde8ab184148da31ea9e6cfcbc0667ce6bbe4ce80c90c8caa77bb73c06082452d2561cc714de55b00d3a28ca6d9d5fa9b8fa6bcc43
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(){
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryCommons
2
- VERSION = '1.4.1'.freeze
2
+ VERSION = '1.4.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_dataentry_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni