Sha256: d2f9f8847d6ef622c9c98b0c183ca578f439d908b12c2cc1f885a27c01c68c4b
Contents?: true
Size: 568 Bytes
Versions: 1
Compression:
Stored size: 568 Bytes
Contents
function selectedRow (param){ var param_parent = $(param); var checkbox = param_parent.find('input.collection_selection') param_parent.toggleClass("selected"); if (param_parent.hasClass("selected") ) { checkbox.prop('checked','checked'); } else { checkbox.prop('checked',null); } } function showSearchForm(){ $(".search_form form").show(); $(".search_form a#show").hide(); $(".search_form a#hide").show(); } function hideSearchForm(){ $(".search_form form").hide(); $(".search_form a#show").show(); $(".search_form a#hide").hide(); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adminsite-2.0.0 | app/assets/javascripts/adminsite/admin/hide_and_show.js |