summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot.js7
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();