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 %} {% 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