sinatra-hexacta 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sinatra/public/js/process.js +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d6be02726f449dec366288a8e986cf950a350412e36138a0081faae3de4d85f
|
4
|
+
data.tar.gz: 4f7dcaeb8123ec8154b38a668cfb02205f44809583dd4d0eb39ee7dabcd447e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f343d242e5d4683f1ef4a6e218024125b2095bb12f3245e18ec0f4d2288497b6b686bfa4815dca14ddeef452733e76339b214e61c78dd13ec8a7755cea896667
|
7
|
+
data.tar.gz: 856b37635174175a17585071b60b5ac3151db247327afd8a44720876319cf0e2b5653209e1574756bbe25d1ae8a9659ab38074dc5330e2c4bd25618d107764b6
|
@@ -36,6 +36,21 @@ class ProcessManager {
|
|
36
36
|
});
|
37
37
|
}
|
38
38
|
|
39
|
+
static start_with_map(clazz,map) {
|
40
|
+
map['class'] = clazz;
|
41
|
+
$.ajax({
|
42
|
+
url: "/process",
|
43
|
+
type: 'POST',
|
44
|
+
data: map,
|
45
|
+
success: function(result) {
|
46
|
+
ProcessManager.show('Cargando...');
|
47
|
+
ProcessManager.update(0);
|
48
|
+
},
|
49
|
+
error: function(error) {
|
50
|
+
}
|
51
|
+
});
|
52
|
+
}
|
53
|
+
|
39
54
|
static getProcesses(clazz) {
|
40
55
|
$.ajax({
|
41
56
|
url: "/processes",
|