Sha256: a7bc2c30817037385563801c2a2fc07085369f41e9f5623a396a70e30b88ed50
Contents?: true
Size: 841 Bytes
Versions: 20
Compression:
Stored size: 841 Bytes
Contents
$('#class-groups-advanced-search').html('<%= j render("gaku/class_groups/search/form") %>').slide(); $('#class-groups-advanced-search-link').hide(); $('.hide-advanced-search-table').show(); $(document).on('keyup', "#search-class-groups input", function(event) { process_search(); }); function process_search() { action = $("#search-class-groups").attr('action'); form_data = $("#search-class-groups").serialize(); $.get(action, form_data, null, "script"); history.pushState(null, "", action + "?" + form_data); return false; } $(document).on('change', "#search-class-groups select", function(event) { process_search(); }); $('body').on('click', '.hide-advanced-search-table', function(event) { event.preventDefault(); $('#class-groups-advanced-search').hide(); $('#class-groups-advanced-search-link').show(); });
Version data entries
20 entries across 20 versions & 2 rubygems