From dd253c45192457c2e029fb957d7778eedf675f0d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 14 Jul 2007 12:27:40 +0000 Subject: [PATCH] issue27, remove any value from tag-search-input-valid when date search is invoked to avoid user-confusion git-svn-id: file:///var/lib/svn/phpfspot/trunk@199 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/phpfspot.js b/phpfspot.js index 40d6761..f101e60 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -24,7 +24,7 @@ function Tags(mode, id) setCheckedValue(id, id.value); HTML_AJAX.grab(encodeURI('rpc.php?action=tagcondition&mode=' + id.value)); } - + refreshAvailableTags(); refreshSelectedTags(); refreshPhotoIndex(); @@ -49,7 +49,7 @@ function refreshSelectedTags() // if no tags are currently selected, return false from here if(selected_tags.innerHTML == "") return false; - + return true; } @@ -117,7 +117,8 @@ function startDateSearch() to = to_year +"-"+ to_month +"-"+ to_day; HTML_AJAX.grab(encodeURI('rpc.php?action=date_search&from='+ from +'&to='+ to)); - + + clearSearch(); refreshAvailableTags(); refreshSelectedTags(); refreshPhotoIndex(); -- 2.34.1