} // resetTags()
+ public function resetTagSearch()
+ {
+ unset($_SESSION['searchfor']);
+
+ } // resetTagSearch()
+
public function getPhotoSelection()
{
$tagged_photos = Array();
HTML_AJAX.grab(encodeURI('rpc.php?action=deltag&id=' + id));
}
else if(mode == "reset") {
- HTML_AJAX.grab(encodeURI('rpc.php?action=resettags'));
+ HTML_AJAX.grab(encodeURI('rpc.php?action=reset'));
}
else if(mode == "condition") {
setCheckedValue(id, id.value);
$fspot->delTag($_GET['id']);
break;
- case 'resettags':
+ case 'reset':
+ $fspot->resetTagSearch();
$fspot->resetTags();
break;