summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-04 09:44:14 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-04 21:52:25 +0200
commit867cf65e5ec98f5be8529a584329385814543e4d (patch)
treee277eac7780d78ec203a776b02a004a2d495afb5 /phpfspot.js
parent7e03ea33b5466be8d499925972a5d044e9695d3d (diff)
issue118, user-friendly-url to directly address a photo or a photo-view
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpfspot.js b/phpfspot.js
index 6c0054d..47ebe32 100644
--- a/phpfspot.js
+++ b/phpfspot.js
@@ -373,6 +373,8 @@ function init_phpfspot(mode)
/* ask the server what we are currently displaying */
whattodo = AskServerWhatToDo();
+ window.alert(whattodo);
+
if(whattodo == 'showpi' || whattodo == 'showpi_date') {
showPhotoIndex();
}