From: Thierry Parmentelat Date: Sat, 5 Oct 2013 04:06:49 +0000 (+0200) Subject: now that we have updated dataTables.bootstrap.{js,css} we can go back to the bootstra... X-Git-Tag: myslice-0.2-5~35 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=71bd1a3f0a1b0b41510000e3828cff65947044f7 now that we have updated dataTables.bootstrap.{js,css} we can go back to the bootstrap style for navigation this one is a little nicer (is it?) but it does not have first and last, so maybe this is wrong.. --- diff --git a/plugins/hazelnut/static/js/hazelnut.js b/plugins/hazelnut/static/js/hazelnut.js index ab22c1e4..f38d5184 100644 --- a/plugins/hazelnut/static/js/hazelnut.js +++ b/plugins/hazelnut/static/js/hazelnut.js @@ -86,7 +86,7 @@ // XXX as of sept. 2013, I cannot locate a bootstrap3-friendly mode for now // hopefully this would come with dataTables v1.10 ? // in any case, search for 'sPaginationType' all over the code for more comments - sPaginationType: 'full_numbers', + sPaginationType: 'bootstrap', // Handle the null values & the error : Datatables warning Requested unknown parameter // http://datatables.net/forums/discussion/5331/datatables-warning-...-requested-unknown-parameter/p2 aoColumnDefs: [{sDefaultContent: '',aTargets: [ '_all' ]}],