Sha256: a9ca6c13bf279a40b4a49ec697feeae947b368c8005603ea2f7ec8941c0bec30

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@value{	"
_version"%1639e6ef6d0636deef724cc488a6349d"digest"%169a41ce2d19740e03908cf9124200d3"lengthi{"source"{/* 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;
    });
    
    
});
:@created_atf1325027173.8837869:@expires_in0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
umlaut-3.0.0alpha2 test/dummy/tmp/cache/assets/CBB/9C0/sprockets%2F706f28923fb754cad04b9107c89986a1
umlaut-3.0.0alpha1 test/dummy/tmp/cache/assets/CBB/9C0/sprockets%2F706f28923fb754cad04b9107c89986a1