Sha256: d0a85d8bc7ec8b44771f8c9d86ade14e033f6348dd88cb8e766014092a64a91b

Contents?: true

Size: 308 Bytes

Versions: 5

Compression:

Stored size: 308 Bytes

Contents

$(document).ready(function(){
    $('#photo_gallery').html("<%= escape_javascript( render :partial => "refinery/photo_gallery/albums/photos", :formats => [:html]  ) %>");
    // Needed for Fancybox 1.3.4. Fancybox v2 can handle ajax content replacement
    $('#photo_gallery').trigger('gallery_loaded');
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-photo-gallery-0.3.0 app/views/refinery/photo_gallery/albums/_photos.js.erb
refinerycms-photo-gallery-0.2.0 app/views/refinery/photo_gallery/albums/_photos.js.erb
refinerycms-photo-gallery-0.1.2 app/views/refinery/photo_gallery/albums/_photos.js.erb
refinerycms-photo-gallery-0.1.1 app/views/refinery/photo_gallery/albums/_photos.js.erb
refinerycms-photo-gallery-0.1.0 app/views/refinery/photo_gallery/albums/_photos.js.erb