diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-07-14 12:27:40 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-07-14 12:27:40 +0000 |
commit | dd253c45192457c2e029fb957d7778eedf675f0d (patch) | |
tree | 4cd922b5f16a0b44a9272b68706e02e48516924c | |
parent | 4a0b6f6114f19cebd796b3b1c6e5253edc3267c3 (diff) |
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
-rw-r--r-- | phpfspot.js | 7 |
1 files 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(); |