thecore_dataentry_commons 1.3.5 → 1.3.6

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: 7f01357539d93a9bcdb7972c7034af90012cd3a079166fe3ffdfc0e304f0fb5d
4
- data.tar.gz: 2735c64a9b6789188100b31f4078d476415c7c402a9fcee6dc15a8d15aa40075
3
+ metadata.gz: a6fece9052768127b3cbe566aa6b4f66e5d595825b95488762dabb92ed5a4f1e
4
+ data.tar.gz: 0510f40c4d7f910ebeb174c289becb259e280a594ec64d55cb833e82a9ecb590
5
5
  SHA512:
6
- metadata.gz: 846aa5c5c8caeb14283c7eba5fd34963bbe6328cb1ca19a5e898c052d85218816cb9bdbbed405449be7996347e4b8596b35aaf5b9d7f8752edb95171a6aa284a
7
- data.tar.gz: 913e068c3364a9e9025a7b5654c534b408a7232904ed3c49f59597e493331b29d920e0b09a7fb7949f1382be19838bc3df9c1626ecf46132a3efecfa786cc2e8
6
+ metadata.gz: b915b544985a6bcac55c5d255dcc6730f887e79a29bb60fa057800007500a1ffb57a229abd2efc3205055436c3d70b1a4b60d8d562b05f721a4d6c15477894a1
7
+ data.tar.gz: b05a536785e858c5d51da1995468c91cbf15ad7409b6f9b57d0ef9d11ccec75b00f8de91afae4c3c279f447986c781ca4d042a7f4ccbfbe16e73db6fcf1f1b0f
@@ -3,13 +3,14 @@
3
3
  // Capture all the keypresses and if they are a return,
4
4
  // then "click" the send button
5
5
  event.stopPropagation();
6
+ event.preventDefault();
6
7
  var keycode = (event.keyCode ? event.keyCode : event.which);
7
8
  console.log(`Keycode: ${keycode}`);
8
- console.log(`Is shiftKey? ${event.shiftKey}`);
9
+ console.log(`Is ctrltKey? ${event.ctrltKey}`);
9
10
  if (keycode == '13') {
10
11
  $("#send").click();
11
12
  return true;
12
- } else if (event.shiftKey && keycode == '32') {
13
+ } else if (event.ctrltKey && keycode == '32') {
13
14
  $("#data-action").click();
14
15
  return true;
15
16
  }
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryCommons
2
- VERSION = '1.3.5'.freeze
2
+ VERSION = '1.3.6'.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.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni