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