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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6fece9052768127b3cbe566aa6b4f66e5d595825b95488762dabb92ed5a4f1e
|
4
|
+
data.tar.gz: 0510f40c4d7f910ebeb174c289becb259e280a594ec64d55cb833e82a9ecb590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
9
|
+
console.log(`Is ctrltKey? ${event.ctrltKey}`);
|
9
10
|
if (keycode == '13') {
|
10
11
|
$("#send").click();
|
11
12
|
return true;
|
12
|
-
} else if (event.
|
13
|
+
} else if (event.ctrltKey && keycode == '32') {
|
13
14
|
$("#data-action").click();
|
14
15
|
return true;
|
15
16
|
}
|