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: 532a07a8b5b168b6f200078c858b4add22db62fc14f6733bf5d1753c75f729a7
4
- data.tar.gz: 1f59a0832747d76f4e59c23fd8dd1652ebbc2884eb33d2aac58b5af789ae631d
3
+ metadata.gz: 73973fddd1b66ad849cff3ae8569f15b6553fadccc2ef1591f1281b557fedaaf
4
+ data.tar.gz: efc966b8efcbb8590656fc09859e2fd6be5f031bb5d8ffcea834223c50bbd35d
5
5
  SHA512:
6
- metadata.gz: 20bda01f61c4e8305f8fc6e5cc9aa318d43e63be215359f791b88dd4fad47e0708e240ad38c1a6c7793374fbd440766e9430a6b01206a02150b4307979c0d5a1
7
- data.tar.gz: 51a66c7b7fca8f0afd411da1640ffcf032bc55386fc6ad3d3ad76bac0b12e01db571b70fa21ca161291e9538ce4bb803733f7681e7fbb0c79b8b290533067b30
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>
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryWithDateStartAndEnd
2
- VERSION = '1.2.6'.freeze
2
+ VERSION = '1.2.7'.freeze
3
3
  end
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.6
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-17 00:00:00.000000000 Z
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