Sha256: e0bbe2a23e41351c02a3391dc29cd148d752e467570bdeb2b35390fe496faa0b
Contents?: true
Size: 540 Bytes
Versions: 55
Compression:
Stored size: 540 Bytes
Contents
// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function(){ // when filter changes $('.keys_filter').click(function(){ $('#current_filter').val($(this).attr('id')); $.ajax({ url: Routes.translation_center_category_path + Category.key() + '.js', data: { filter: Filter.key() } }); $($('.keys_filter').parent()).removeClass('active'); $($(this).parent()).addClass('active'); }); });
Version data entries
55 entries across 55 versions & 2 rubygems