diff options
Diffstat (limited to 'phpfspot.js')
-rw-r--r-- | phpfspot.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/phpfspot.js b/phpfspot.js index 4849295..fcc5766 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -48,9 +48,12 @@ function refreshSelectedTags() selected_tags.innerHTML = HTML_AJAX.grab(encodeURI('rpc.php?action=show_selected_tags')); } -function showPhotoIndex() +function showPhotoIndex(begin_with) { - HTML_AJAX.replace(document.getElementById("content"), encodeURI('rpc.php?action=show_photo_index')); + if(begin_with == undefined) + HTML_AJAX.replace(document.getElementById("content"), encodeURI('rpc.php?action=show_photo_index')); + else + HTML_AJAX.replace(document.getElementById("content"), encodeURI('rpc.php?action=show_photo_index&begin_with=' + begin_with)); } function showBubbleDetails(object, id, direction) |