From 57d10099ff48f51a9e24a61ec06f30178f1330ec Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 17 Jan 2018 11:49:48 +0100 Subject: UI: modal waiting --- ishtar_common/templates/blocks/DataTables.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ishtar_common/templates/blocks/DataTables.html') diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html index d3e7312ac..37dd090d2 100644 --- a/ishtar_common/templates/blocks/DataTables.html +++ b/ishtar_common/templates/blocks/DataTables.html @@ -48,7 +48,7 @@
@@ -98,8 +98,8 @@ var query_vars = new Array({{col_idx|safe}}); var selItems_{{sname}} = new Array(); jQuery(document).ready(function(){ jQuery("#search_{{name}}").click(function (){ - if ($("#progress").length > 0){ - $("#progress").show(); + if ($('.modal-progress').length > 0){ + $('.modal-progress').modal('show'); } var data = ""; for (idx in query_vars){ @@ -129,8 +129,8 @@ jQuery(document).ready(function(){ $(".{{slug}}-csv-full").attr("href", '{{extra_source}}csv?submited=1&' + data); {% endfor %} - if ($("#progress").length > 0){ - $("#progress").hide(); + if ($('.modal-progress').length > 0){ + $('.modal-progress').modal('hide'); } return false; }); -- cgit v1.2.3