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