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

Changeset 1858

Show
Ignore:
Timestamp:
07/27/2010 05:37:14 PM (6 weeks 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/branches/1.4/modules/aSlideshowSlot/templates/_slideshow.php

    r1453 r1858  
    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>