# HG changeset patch # User Matti Hamalainen # Date 1386256114 -7200 # Node ID b320959477ef2dc9cf4899f25df5847e577f2bb6 # Parent db85700cb258ec063880d432fc9f3fce130ba62a Yep. diff -r db85700cb258 -r b320959477ef showajax.php --- 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)