summaryrefslogtreecommitdiffstats
path: root/rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'rpc.php')
-rw-r--r--rpc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc.php b/rpc.php
index 704c921..4bbf4d5 100644
--- a/rpc.php
+++ b/rpc.php
@@ -70,6 +70,7 @@ class PHPFSPOT_RPC {
$fspot->resetTagSearch();
$fspot->resetTags();
+ $fspot->resetPhotoView();
break;
case 'tagcondition':
@@ -103,6 +104,10 @@ class PHPFSPOT_RPC {
$fspot->getExport($_GET['mode']);
break;
+ case 'get_photo_to_show':
+ $fspot->getCurrentPhoto();
+ break;
+
}
} // process_ajax_request();