|
@@ -1,7 +1,7 @@
|
|
<p style="text-muted">Running check...</p>
|
|
<p style="text-muted">Running check...</p>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
- $.post("<%= run_queries_path %>", <%= json_escape({statement: @query.statement, query_id: @query.id, check: true}.to_json).html_safe %>, function (data) {
|
|
|
|
|
|
+ $.post("<%= run_queries_path %>", <%= blazer_json_escape({statement: @query.statement, query_id: @query.id, check: true}.to_json).html_safe %>, function (data) {
|
|
setTimeout( function () {
|
|
setTimeout( function () {
|
|
window.location.href = "<%= checks_path %>";
|
|
window.location.href = "<%= checks_path %>";
|
|
}, 200);
|
|
}, 200);
|