issue118, user-friendly-url to directly address a photo or a photo-view
[phpfspot.git] / phpfspot.js
index 6c0054dfe2f80cbd737f30b2be72a8a9b243f0d9..47ebe320d5e981b1990b0fb93269c9e0ad97ef1e 100644 (file)
@@ -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();
    }