diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-07-11 12:51:51 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-13 18:26:03 +0200 |
| commit | 83518616e708daf5e484e6d6f1f8907282b5ded5 (patch) | |
| tree | 6cbdea63cc78c828232263a6f05e43c0c283c704 /ishtar_common/templates | |
| parent | aef7dc4116b1ca380aad84f8422df73cc6b3a7f2 (diff) | |
| download | Ishtar-83518616e708daf5e484e6d6f1f8907282b5ded5.tar.bz2 Ishtar-83518616e708daf5e484e6d6f1f8907282b5ded5.zip | |
Search UI: auto launch search on bookmark selection and criteria close
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/blocks/DataTables.html | 1 | ||||
| -rw-r--r-- | ishtar_common/templates/widgets/search_input.html | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html index 4beabe82a..0ae6ba7d0 100644 --- a/ishtar_common/templates/blocks/DataTables.html +++ b/ishtar_common/templates/blocks/DataTables.html @@ -101,6 +101,7 @@ var query_vars = new Array({{col_idx|safe}}); var selItems_{{sname}} = new Array(); jQuery(document).ready(function(){ jQuery("#search_{{name}}").click(function (){ + $("#id_search_vector").removeClass('input-progress'); if ($('.modal-progress').length > 0){ $('.modal-progress').modal('show'); } diff --git a/ishtar_common/templates/widgets/search_input.html b/ishtar_common/templates/widgets/search_input.html index 842b2bcfb..611caf054 100644 --- a/ishtar_common/templates/widgets/search_input.html +++ b/ishtar_common/templates/widgets/search_input.html @@ -48,6 +48,8 @@ $(document).ready(function(){ if (key === "Enter") { $(".search_button").click(); $(this).focus(); + } else { + $("#id_search_vector").addClass('input-progress'); } if (key === "Escape") { $("#clear-search-button").click(); |
