thecore_dataentry_commons 1.2.30 → 1.2.31
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: 9516fde3b005039b986dfb96761cab6335ed525f
|
4
|
+
data.tar.gz: 030e6184ae398e748be887e3b9910759da005169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc62959b96e2fc68644a0174af817967ea382256833141032eccf26654008471e1a433227e583428e6f36e7f88d8e297f64e080a4483827ac11d113a16f6901f
|
7
|
+
data.tar.gz: 905b653fdc100a9ca341808cdd951db64fc3dfc5be18f980ee151fab8962d77dbddfb45cdcb63b8ec699c652794a155b2f5acb56bfb5125e0e79c39098fda86e
|
@@ -18,6 +18,7 @@
|
|
18
18
|
<script>
|
19
19
|
var code;
|
20
20
|
var returnedData;
|
21
|
+
var additionalData = {};
|
21
22
|
|
22
23
|
// These functions can be overridden in the containing file
|
23
24
|
function setAll() {
|
@@ -93,7 +94,8 @@
|
|
93
94
|
code.prop('disabled', true);
|
94
95
|
$(this).button('loading');
|
95
96
|
$.get('<%=rails_admin.send("#{action_name}_path")%>', {
|
96
|
-
barcode: code.val()
|
97
|
+
barcode: code.val(),
|
98
|
+
parameters: additionalData
|
97
99
|
}).then(barcodeScannedSuccess).done(barcodeScannedThen).fail(barcodeScannedFailure);
|
98
100
|
}
|
99
101
|
<%-unless (start_disabled rescue false)%>
|
@@ -110,6 +112,7 @@
|
|
110
112
|
$(this).button('loading');
|
111
113
|
$.get('<%=rails_admin.send("#{action_name}_path")%>', {
|
112
114
|
barcode: code.val(),
|
115
|
+
parameters: additionalData,
|
113
116
|
what_to_do: "data-action",
|
114
117
|
data: returnedData
|
115
118
|
}).then(dataActionSuccess).done(dataActionThen).fail(dataActionFailure).always(dataActionAlways);
|