To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
07/27/10 13:37:08 (22 months ago)
Author:
rickybanister
Message:

fixed a bug for applying a single-image class in the slideshowSlot - the bug assumed the slideshow was inside a slideshowSlot. Since we re-use this code in multiple places, including the blog slots and blog engine, we needed to rescope the class to be applied in two places. Fixed in 1.4 and Trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/trunk/modules/aSlideshowSlot/templates/_slideshow.php

    r1449 r1857  
    165165  <?php // Make sure a single-image slideshow is not hidden entirely ?> 
    166166        $(document).ready(function() { 
    167      $('#a-slideshow-item-<?php echo $id ?>-0').show().parents(".aSlideshow").addClass("single-image"); 
     167    $('#a-slideshow-item-<?php echo $id ?>-0').show().parents(".a-slideshow, .aSlideshow").addClass("single-image"); 
    168168        }); 
    169169</script>