Fixed select all checkboxes
This commit is contained in:
parent
ef67941ba5
commit
2d0fd1d2e4
|
@ -159,4 +159,11 @@
|
||||||
$("#public_r_tag").on("change", "#tag_list select", function() {
|
$("#public_r_tag").on("change", "#tag_list select", function() {
|
||||||
$.getScript($(this).attr('rel') + '?type=' + $(this).val() + "&id=" + "<%= @part.id %>" );
|
$.getScript($(this).attr('rel') + '?type=' + $(this).val() + "&id=" + "<%= @part.id %>" );
|
||||||
});
|
});
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
function toggleChecked(status) {
|
||||||
|
$(".checkbox").each( function() {
|
||||||
|
$(this).attr("checked",status);
|
||||||
|
})
|
||||||
|
}
|
||||||
</script>
|
</script>
|
Loading…
Reference in New Issue