Sha256: 8783d53708a8ffcd1d2ead7f6d3b43279fe351151115da64733864b44fee1b10

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

$(function(){
  $(".tab-language-switch li").live("click",function(){
    $(this).parent().children("li").removeClass("active");
    //$(".tab-language-switch li").removeClass("active");
    $(this).addClass("active");
    var locale = $(this).data("locale"),
        tab_name = $(this).data("tab"),
        container = $(this).data("container") || ".tab-content";
    $(container + " .language-wrap").hide(0);
    $("#"+locale+"_for_"+tab_name).show(0);
    resize_all_tinymce_editors();
  });
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lolita-translation-0.6.3 app/assets/javascripts/lolita/translation/application.js
lolita-translation-0.6.2 app/assets/javascripts/lolita/translation/application.js
lolita-translation-0.6.1 app/assets/javascripts/lolita/translation/application.js