summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-23 13:48:34 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-23 13:48:34 +0000
commite00eef0a999c366bbfb7912841bd845f659af649 (patch)
tree1de94b63085701511adc4834e3ecaefbc3ba8967 /phpfspot.js
parentcb4b29076f41be249d2f4b54204085722ef6beff (diff)
renamed search to tagsearch
issue16, matching tags are now placed into the selected-tags list git-svn-id: file:///var/lib/svn/phpfspot/trunk@127 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpfspot.js b/phpfspot.js
index fcc5766..92c08b7 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -95,9 +95,11 @@ function setCheckedValue(condition, value) {
}
}
-function startSearch(searchfor)
+function startTagSearch(searchfor)
{
- HTML_AJAX.grab(encodeURI('rpc.php?action=search&for=' + searchfor));
+ HTML_AJAX.grab(encodeURI('rpc.php?action=tag_search&for=' + searchfor));
+ refreshAvailableTags();
+ refreshSelectedTags();
showPhotoIndex();
}