thecore_dataentry_commons 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c32e615b4d9709032878d535a678e424161a124075427c4630feed29a4b6c46
|
4
|
+
data.tar.gz: '092968d69255797c074bd22fbd5f4cbea0a78ca480344c3131c3d84703f74d31'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bd0cbbdb728ae47e4614fe48d29fc1bbb83e551e473d49692bee167aebf74a2a9fa05e55e534f3beeef2a2f106321ae015a497c3b8ed9244192726b3d948b08
|
7
|
+
data.tar.gz: cafdeb83b68bb348892114af3c1403575c80af52963e494bf0ace1362541f4617c2909d2be70036b987c40ce1056dc759d7e4dda5c80328cfec1c384088a4535
|
@@ -29,6 +29,7 @@
|
|
29
29
|
(keycode > 95 && keycode < 112) || // numpad keys
|
30
30
|
(keycode > 185 && keycode < 193) || // ;=,-./` (in order)
|
31
31
|
(keycode > 218 && keycode < 223)); // [\]' (in order)
|
32
|
+
// console.log(`Is it Valid? ${valid}`);
|
32
33
|
let prevent = false;
|
33
34
|
if (event.ctrlKey && keycode == '32') {
|
34
35
|
// Invia il form secondario
|
@@ -43,7 +44,7 @@
|
|
43
44
|
prevent = true;
|
44
45
|
} else if (valid) { // if (event.target.id != "barcode")
|
45
46
|
// Scrivilo nell'input field (accumulando)
|
46
|
-
console.log("Write to the field");
|
47
|
+
// console.log("Write to the field");
|
47
48
|
$("#barcode").val(function (index, val) {
|
48
49
|
// Write
|
49
50
|
return val + event.key;
|
@@ -8,11 +8,13 @@ module ThecoreDataentryCommons
|
|
8
8
|
# app.middleware.use ::ActionDispatch::Static, "#{root}/app"
|
9
9
|
# end
|
10
10
|
initializer 'thecore_dataentry_commons.add_to_migrations' do |app|
|
11
|
-
unless app.root.to_s
|
11
|
+
unless app.root.to_s.match root.to_s
|
12
12
|
# APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
|
13
13
|
config.paths['db/migrate'].expanded.each do |expanded_path|
|
14
14
|
app.config.paths['db/migrate'] << expanded_path
|
15
15
|
end
|
16
|
+
# = app.config.paths['db/migrate'].uniq
|
17
|
+
# puts app.config.paths['db/migrate'].map(:path).inspect
|
16
18
|
end
|
17
19
|
end
|
18
20
|
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: 1.4.
|
4
|
+
version: 1.4.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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_settings
|
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.7.7
|
83
|
+
rubygems_version: 3.0.1
|
85
84
|
signing_key:
|
86
85
|
specification_version: 4
|
87
86
|
summary: Some javascripts and partials to handle DW WS.
|