Fixed iCheck for multiple pages

This commit is contained in:
Radnik 2017-11-27 11:02:21 +01:00
parent 971d6b2e28
commit 9855bc70dc

View File

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