summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/forms/search_query.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/forms/search_query.html')
-rw-r--r--ishtar_common/templates/ishtar/forms/search_query.html8
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();
}
}