thecore_dataentry_with_date_start_and_end 1.2.6 → 1.2.7
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: 73973fddd1b66ad849cff3ae8569f15b6553fadccc2ef1591f1281b557fedaaf
|
4
|
+
data.tar.gz: efc966b8efcbb8590656fc09859e2fd6be5f031bb5d8ffcea834223c50bbd35d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d236c5945747e69ac337b590cf51bb37f5221aead7c0476a66d908ca34f4c3451f7b1060b7c395e72fe3be14bed0a453198cf477a803a5ddc600e1fec7702446
|
7
|
+
data.tar.gz: 1064072d5321d64bbe99cd9acc09ec854d727b4bf28af40c35471ad17b86ca9576aa1037d435de88df6b6875da9f9a9bc4283d7e0cbdadbbbfd6c6f0d309fcc9
|
@@ -7,10 +7,12 @@
|
|
7
7
|
var html = $("<div></div>");
|
8
8
|
html.append("<h3><%=t "thecore_dataentry_with_date_start_and_end.header" %> "+data.barcode+"</h3>");
|
9
9
|
<%-if (not_before rescue true)%>
|
10
|
+
additionalData.not_before = data.not_before
|
10
11
|
html.append(buildDTPicker("not-before", '<%=t "thecore_dataentry_with_date_start_and_end.not_before" %>', data.not_before, <%= not_before_ro rescue false %>, <%= not_before_date_only rescue false%>));
|
11
12
|
html.append("<br/>");
|
12
13
|
<%-end%>
|
13
14
|
<%-if (not_after rescue true)%>
|
15
|
+
additionalData.not_after = data.not_after
|
14
16
|
html.append(buildDTPicker("not-after", '<%=t "thecore_dataentry_with_date_start_and_end.not_after" %>', data.not_after, <%= not_after_ro rescue false %>, <%= not_after_date_only rescue false%>));
|
15
17
|
html.append("<br/>");
|
16
18
|
<%-end%>
|
@@ -21,20 +23,4 @@
|
|
21
23
|
function dataActionThen(data){
|
22
24
|
resetInfo();
|
23
25
|
}
|
24
|
-
|
25
|
-
// function captureCTRLSpace(event) {
|
26
|
-
// // Capture all the keypresses and if they are a return,
|
27
|
-
// // then "click" the send button
|
28
|
-
// // event.stopPropagation();
|
29
|
-
// // event.preventDefault();
|
30
|
-
// var keycode = (event.keyCode ? event.keyCode : event.which);
|
31
|
-
// if (event.ctrlKey && keycode == '32') {
|
32
|
-
// console.log(`Keycode: ${keycode}`);
|
33
|
-
// console.log(`Is ctrlKey? ${event.ctrlKey}`);
|
34
|
-
// $("#data-action").click();
|
35
|
-
// //return true;
|
36
|
-
// }
|
37
|
-
// // return false;
|
38
|
-
// }
|
39
|
-
// $(document).on('keydown', captureCTRLSpace);
|
40
26
|
</script>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_dataentry_with_date_start_and_end
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_dataentry_commons
|