thecore_dataentry_commons 1.2.29 → 1.2.30
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72724bc2906ba48be4c44fa7a3cf2841e3f83e43
|
4
|
+
data.tar.gz: 57a06fb55a3d2f40b1a1172e5a6550af1399ed04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94ffdae391643d688aec24a92d2de214dcaea92242b453ef8c04fb541be3c7be8a67d47243da9f576e12a323bcf45ee03b45d5ddcf1678bab0e54e62e3bc3137
|
7
|
+
data.tar.gz: 8d7c6e189fa761c14d6027b971a0f61bea3717fef1d02d3613b4cdaedbce5ee3f9f2eb7465fb36f2ce1bb7f1af36b18e05199d4c594267d0525126d26e3a8b4a
|
@@ -88,14 +88,19 @@
|
|
88
88
|
// END of overridable functions
|
89
89
|
|
90
90
|
// Operation on barcode scan
|
91
|
-
|
91
|
+
function sendFunction() {
|
92
92
|
code = $('#barcode');
|
93
93
|
code.prop('disabled', true);
|
94
94
|
$(this).button('loading');
|
95
95
|
$.get('<%=rails_admin.send("#{action_name}_path")%>', {
|
96
96
|
barcode: code.val()
|
97
97
|
}).then(barcodeScannedSuccess).done(barcodeScannedThen).fail(barcodeScannedFailure);
|
98
|
-
}
|
98
|
+
}
|
99
|
+
<%-unless (start_disabled rescue false)%>
|
100
|
+
$('#send').on('click', sendFunction);
|
101
|
+
<%-else%>
|
102
|
+
$('#send').off('click', sendFunction);
|
103
|
+
<%-end%>
|
99
104
|
|
100
105
|
<%-unless (hide_action rescue true)%>
|
101
106
|
// Operation on button click
|
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.2.
|
4
|
+
version: 1.2.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_settings
|