thecore_dataentry_commons 2.0.2 → 2.0.3

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: 98cf537394cb413a353796313e4244682d652b6ac2e99a7b58312b4338ec3ae0
4
- data.tar.gz: 6161a1a38897ed7c2164b75aca068436f33a1a201f41e3afc717a93efba0caa1
3
+ metadata.gz: 91e1f6e808b52413a27c198f715824b1682dca268561500c372521082bf75622
4
+ data.tar.gz: 2c4fb056c94e6132654b767c1516c9b6fcf812a8891053323ebce2aeed208f84
5
5
  SHA512:
6
- metadata.gz: caae373573cb3779a99a56dbca2854c49a75925f18c9b3db7c521f7c3a2a597e8252418087a76a1178754245d4131d71c37b33bf1e85a9b7c81c5c1e7ca075b6
7
- data.tar.gz: f6bd40ed3859fb50a797c3625f1bf62c1ba54bdbab4628b3e121d315f5f31815c0dc4bba3735b15b6d78bd0d28e059c7fe25d351d102b996c5a74c3aa0d62be8
6
+ metadata.gz: a5708ee95b72168579726d36a73236c9cf5b74f1f4a15cce5994072e1a91d40e33f1b42e85f115a9c5751b7ab606abf5698970145fc7aaf4b2ad472dea1dcc46
7
+ data.tar.gz: 0f06d9be28c8961240659e445f8f9d6a0e19ed5511184c30196d10d14a5ca7b35c1bac6977a796e1d9f954341b678805a21db41396913d44d7c09ce4be6e36fc
@@ -9,10 +9,11 @@
9
9
  var returnedData;
10
10
  var additionalData = {};
11
11
  var disableKeyManagement = false;
12
+ var cleanBarcode = true;
12
13
 
13
14
  function resetInfo() {
14
15
  returnedData = code = undefined;
15
- $("#barcode").empty();
16
+ if (cleanBarcode) $("#barcode").empty();
16
17
  $("#data-info").empty().hide();
17
18
  $("#data-content").empty().hide();
18
19
  <%-unless (hide_action rescue true)%>
@@ -1,3 +1,3 @@
1
1
  module ThecoreDataentryCommons
2
- VERSION = '2.0.2'.freeze
2
+ VERSION = '2.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_dataentry_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-06 00:00:00.000000000 Z
11
+ date: 2020-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_rails_admin