now that we have updated dataTables.bootstrap.{js,css} we can go back to the bootstra...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 5 Oct 2013 04:06:49 +0000 (06:06 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 5 Oct 2013 04:06:49 +0000 (06:06 +0200)
this one is a little nicer (is it?) but it does not have first and last, so maybe this is wrong..

plugins/hazelnut/static/js/hazelnut.js

index ab22c1e..f38d518 100644 (file)
@@ -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' ]}],