issue41, remove any trace of the javascript bubble
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 9b56c48308967dd85ef41e9256919836e4d6bef6..49d1930def0052d59db2bbd59408146e400a1d63 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -70,6 +70,7 @@ class PHPFSPOT_RPC {
 
             $fspot->resetTagSearch();
             $fspot->resetTags();
+            $fspot->resetPhotoView();
             break;
 
          case 'tagcondition':
@@ -83,11 +84,6 @@ class PHPFSPOT_RPC {
             $fspot->showPhotoIndex();
             break;
    
-         case 'showbubbledetails':
-      
-            $fspot->showBubbleDetails($_GET['id'], $_GET['direction']);
-            break;
-
          case 'showcredits':
 
             $fspot->showCredits();
@@ -98,6 +94,15 @@ class PHPFSPOT_RPC {
             $fspot->startTagSearch($_GET['for']);
             break;
 
+         case 'get_export':
+
+            $fspot->getExport($_GET['mode']);
+            break;
+
+         case 'get_photo_to_show':
+            $fspot->getCurrentPhoto();
+            break;
+
       }
 
    } // process_ajax_request();