Merge pull request #12 from Radnik/master

Fixed iCheck for multiple pages. thx to @Radnik
This commit is contained in:
Thomas 2017-11-28 17:16:42 +01:00 committed by GitHub
commit 675a502bcb

View File

@ -74,13 +74,16 @@
{% block extrascripts %}
<script>
// set up user data table
$("#tbl_users").DataTable({
"paging" : true,
"lengthChange" : false,
"searching" : true,
"ordering" : true,
"info" : true,
"autoWidth" : false
$(document).ready(function(){
var table = $('#tbl_users').DataTable({
'drawCallback': function(settings){
// iCheck for checkbox and radio inputs
$('input[type="checkbox"]').iCheck({
checkboxClass: 'icheckbox_square-blue',
increaseArea : '20%'
});
}
});
});
// handle revocation of privileges