changeset 409:b320959477ef

Yep.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Dec 2013 17:08:34 +0200
parents db85700cb258
children 298822ed0420
files showajax.php
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/showajax.php	Thu Dec 05 16:58:51 2013 +0200
+++ b/showajax.php	Thu Dec 05 17:08:34 2013 +0200
@@ -90,12 +90,6 @@
 //
 $updated = FALSE;
 
-if (stGetDisplayVar("showMode") == SMODE_DISABLED)
-{
-  stGuruMeditation();
-  exit;
-}
-
 // Temporary slides are handled globally
 if (stGetDisplayVar("tempDuration") > 0 &&
     stGetDisplayVar("tempSlide") > 0 &&
@@ -118,7 +112,6 @@
 switch (stGetDisplayVar("showMode"))
 {
   case SMODE_ROTATE:
-  default:
     //
     // Rotation / normal slide show mode
     //
@@ -207,6 +200,10 @@
       // Based on the currently active mode ...
       switch (stGetDisplayVar("activeSlideMode"))
       {
+        case SMODE_DISABLED:
+          stGuruMeditation();
+          break;
+
         case SMODE_ROTATE:
           // Slide rotation mode, display currently active slide
           if (stGetDisplayVar("activeSlide") > 0)