sinatra-hexacta 1.6.2 → 1.6.3
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/app.js +3 -2
- 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: 1d706c95a77c81c7a7628ee52313a72c8f1cb6e66c3ca0212e59e8a11b3978eb
|
4
|
+
data.tar.gz: 79fa082bb9676a6ced1e03116e699b7533ce54e4a7885c399092e2da7bea7807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 440b4b2efbbde161c1f2858cbcf726af44c1af507eed42f97ca9796a328a3f1e721abe9b20355fbb59369e92a4d7fd4e561f7a32e7ed12b748db38ab4623ab15
|
7
|
+
data.tar.gz: a8ac196c8d7cc02acc7f9fd143cbec972b0d4986f8dd7622f0c448d2696492886a3de51514d7634c603875f51bd8015f41867c683c4e9c9100432c0314e7bf99
|
@@ -46,15 +46,16 @@ function update_html_elements() {
|
|
46
46
|
location.reload();
|
47
47
|
}, 1000)
|
48
48
|
},
|
49
|
-
error: function(
|
49
|
+
error: function(error) {
|
50
50
|
$('#loading-modal').modal('hide');
|
51
51
|
$('#loading-modal').remove();
|
52
|
-
$('body').append('<div aria-labelledby="error" class="modal bounceIn animated" id="error-modal" role="dialog" tabindex="-1"><div class="modal-dialog modal-sm" style="width:150px !Important;"><div class="modal-content"><div class="modal-body p-20 text-center"><i class="zmdi zmdi-hc-3x zmdi-alert-polygon c-red"></i></div><div class="modal-footer" style="text-align: center !Important;"><div class="
|
52
|
+
$('body').append('<div aria-labelledby="error" class="modal bounceIn animated" id="error-modal" role="dialog" tabindex="-1"><div class="modal-dialog modal-sm" style="min-width:150px !Important;"><div class="modal-content"><div class="modal-body p-20 text-center"><i class="zmdi zmdi-hc-3x zmdi-alert-polygon c-red"></i></div><div class="modal-footer" style="text-align: center !Important;"><div class="f-900 c-gray">' + error.responseText + '</div></div></div></div></div>');
|
53
53
|
$('#error-modal').modal('show');
|
54
54
|
}
|
55
55
|
});
|
56
56
|
});
|
57
57
|
|
58
|
+
|
58
59
|
// Fix modal inside other components
|
59
60
|
$('.modal').appendTo("body");
|
60
61
|
|