var selected_tags = document.getElementById("selected_tags");
selected_tags.innerHTML = "Loading...";
selected_tags.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=show_selected_tags'));
-
- // if no tags are currently selected, return false from here
- if(selected_tags.innerHTML == "")
- return false;
-
- return true;
-
}
function showPhotoIndex(begin_with)
whattodo = AskServerWhatToDo();
- if(whattodo == 'showpi') {
+ if(whattodo == 'showpi' || whattodo == 'showpi_date') {
showPhotoIndex();
}
if(whattodo == 'showpi_tags') {
- if(refreshSelectedTags()) {
- showPhotoIndex();
- }
- }
- if(whattodo == 'showpi_date') {
+ refreshSelectedTags();
showPhotoIndex();
}
if(whattodo == 'show_photo') {