summaryrefslogtreecommitdiffstats
path: root/rpc.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-19 10:02:19 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-19 10:02:19 +0100
commitaddc988921081fcc4571be3cc7cd2375e621fee4 (patch)
tree897e4471e21e60325f1938ce0e7f7fd1e1003a63 /rpc.php
parent1b98418fc7f31d2d10364a60bc798ee85ef7add1 (diff)
issue102, use javascript to jump to the correct thumbnail when returing from photo-view
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'rpc.php')
-rw-r--r--rpc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc.php b/rpc.php
index 4bb2973..ad80ca5 100644
--- a/rpc.php
+++ b/rpc.php
@@ -99,6 +99,9 @@ class PHPFSPOT_RPC {
else {
unset($_SESSION['begin_with']);
}
+ if(isset($_GET['last_photo']) && is_numeric($_GET['last_photo']))
+ $_SESSION['last_photo'] = $_GET['last_photo'];
+
$fspot->showPhotoIndex();
break;