projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed syntax error in phpfspot.js
[phpfspot.git]
/
phpfspot.js
diff --git
a/phpfspot.js
b/phpfspot.js
index 4951fe1fa1f2dbf8d0b97daafed6498b4e9e45f3..523bc4d581f26f4679f315def2614eb29a96080e 100644
(file)
--- a/
phpfspot.js
+++ b/
phpfspot.js
@@
-92,8
+92,18
@@
function setCheckedValue(condition, value) {
}
}
}
}
-function start
search(
)
+function start
Search(searchfor
)
{
{
- searchfor = document.getElementsByName('searchfor')[0].value;
HTML_AJAX.grab(encodeURI('rpc.php?action=search&for=' + searchfor));
HTML_AJAX.grab(encodeURI('rpc.php?action=search&for=' + searchfor));
+
+ Tags('reset', 0);
+
+ refreshAvailableTags();
+ refreshSelectedTags();
+ showPhotoIndex();
+}
+
+function clearSearch()
+{
+ document.getElementsByName('searchfor')[0].value = '';
}
}