Sha256: 16fdc258e7a1cb1db0999340c9c6a6018e36668376b64d88db0985c8fb87ae0a

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1332169541.279744:@value"‡{I"
class:EFI"ProcessedAsset;FI"logical_path;F"%umlaut/expand_contract_toggle.jsI"
pathname;F"R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.jsI"content_type;FI"application/javascript;FI"
mtime;FI"2012-02-29T14:11:58-05:00;FI"length;Fi{I"digest;F"%10cd1c2b7be59c61f9df449ea3744731I"source;FI"{/* expand_contract_toggle.js: Support for show more/hide more in lists of umlaut content. */

jQuery(document).ready(function($) {
   
    $(".expand_contract_toggle").live("click", function() {
        var content = $(this).next(".expand_contract_content");
        var icon = $(this).parent().find('img.toggle_icon');
        
        if (content.is(":visible")) {                    
          icon.attr("src", icon.attr("src").replace("list_open.png", "list_closed.png"));
          $(this).find(".expand_contract_action_label").text("Show ");
          
          content.hide();
          
        }
        else {                    
          icon.attr("src", icon.attr("src").replace("list_closed.png", "list_open.png"));
          $(this).find(".expand_contract_action_label").text("Hide ");
          content.show();
        }
        
        return false;
    });
    
    
});
;FI"dependency_digest;F"%5dda66b5636d72e1d2ff007f3b110d26I"required_paths;F["R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.jsI"dependency_paths;F[{I"	path;F"R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.jsI"
mtime;FI"2012-02-29T14:11:58-05:00;FI"digest;F"%600fcc80fdf2a911f9b7254a4e05d71cI"
_version;F"%95bd4fe1de99c1cd91ec8e6f348a44bd

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
umlaut-3.0.0alpha14 ./test/dummy/tmp/cache/assets/C2A/410/sprockets%2Fd654b74912b4773a2534616863fb6565