Sha256: 98107b65b4061a9793bcef24cf60f716990192fce898ee22a0d8fdde73d30987

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1332774052.2417889:@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"%60b5124eab4730836e30c70429e8a639I"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"%b7c84f37c7854cea8cd52b8c66cbd0c0I"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"%5f18fb6455cf4a76e7ef9001f72c508dI"
_version;F"%aa7d0db7619379e13b08335dee027df2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
umlaut-3.0.0beta2 ./test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7