diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-07-10 19:14:28 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-13 18:26:03 +0200 |
| commit | ea6d6cadcaa374956cbad3908b6a2a9f21ff4e14 (patch) | |
| tree | 1d325a790d3d16a44cf2cbedb3ff32a551ebea71 /ishtar_common/templates | |
| parent | 92b5c38f15f80a78e6beab2684fe697520eec38c (diff) | |
| download | Ishtar-ea6d6cadcaa374956cbad3908b6a2a9f21ff4e14.tar.bz2 Ishtar-ea6d6cadcaa374956cbad3908b6a2a9f21ff4e14.zip | |
Search UI: fix criteria info
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/ishtar/forms/search_query.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/templates/ishtar/forms/search_query.html b/ishtar_common/templates/ishtar/forms/search_query.html index d44c61ade..eb8ba6d53 100644 --- a/ishtar_common/templates/ishtar/forms/search_query.html +++ b/ishtar_common/templates/ishtar/forms/search_query.html @@ -85,12 +85,12 @@ <script type='text/javascript'> var update_form_display = function(){ - if ($("#create-choice:checked").length){ - $("#update-search-query").hide(); - $("#new-search-query").show(); - } else { + if ($("#update-choice:checked").length){ $("#new-search-query").hide(); $("#update-search-query").show(); + } else { + $("#update-search-query").hide(); + $("#new-search-query").show(); } } |
