thecore_dataentry_commons 1.3.3 → 1.3.4

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: da56d552dd5fa1d4de87bb7912f11572219ab185232502e6b17abe05aafe126f
4
- data.tar.gz: 7e3cf0fed9d66931954361aad72e7dec2e2bb56f621ff2f58d9ff9e3dc89e48c
3
+ metadata.gz: 45f2ce453ba1698d3965e7cc0eea56665823f7d16947b09834a95efb0d77430f
4
+ data.tar.gz: 1b1c37ccc99f355253ba3aceb6f164f8018eafa2a98e28145b8d2b45c5bc378d
5
5
  SHA512:
6
- metadata.gz: fffcfad8b91821051a476398cb8f67dea2904e6a59b2940b104ba727931462c5f35e58ae0f6c79d78bfa50f82fce2da85ee2cdb5d42f38012e4bff15f32b6cb0
7
- data.tar.gz: 2e838311add61eb8fd93ff076a27934c1f8fc9405ff0b6a03daa1fc39dfeb54971e6fd8f706353c3c1d49ea8fd5b13b15e4d2332660e90b22ae3f30f931a7771
6
+ metadata.gz: b75db86b51cf46c4cf765f63163217c5a6a12d17c17833b46cbd6a57583047297fe7c792c5dbb82e900e27c77058fa4166a309cc50794e743238db32973f6f91
7
+ data.tar.gz: a05a8d52bc0b623fff53b5a878afdc5d3f05f950aec6e919196f16fd8f0e4632486a32038ab77d9ca910013b9cdcc8c435e2c8a1e804f2fb45c39327f7a08df0
@@ -4,12 +4,12 @@
4
4
  // then "click" the send button
5
5
  event.stopPropagation();
6
6
  var keycode = (event.keyCode ? event.keyCode : event.which);
7
- // console.log(keycode);
7
+ console.log(`Keycode: ${keycode}`);
8
+ console.log(`Is ctrlKey? ${event.ctrlKey}`);
8
9
  if (keycode == '13') {
9
10
  $("#send").click();
10
11
  return true;
11
- }
12
- if (event.ctrlKey && keycode == '32') {
12
+ } else if (event.ctrlKey && keycode == '32') {
13
13
  $("#data-action").click();
14
14
  return true;
15
15
  }
@@ -27,7 +27,6 @@
27
27
  }
28
28
  // var clickedBtn; var code; Gestisco il keypress sull'input
29
29
  function manageScannedKeystrokes(event) {
30
- // console.log(event);
31
30
  event.stopPropagation();
32
31
  if(!keypressAndReturn(event)) {
33
32
  // $("#send").focus();
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryCommons
2
- VERSION = '1.3.3'.freeze
2
+ VERSION = '1.3.4'.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.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni