From 7993028f58b9aa736fda342284c9ee2c913d3658 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 15 Oct 2020 09:02:16 +0100 Subject: datatables buttons now work --- .../DataTables-1.10.22/js/dataTables.bootstrap4.min.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap4.min.js (limited to 'ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap4.min.js') diff --git a/ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap4.min.js b/ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap4.min.js new file mode 100644 index 0000000..aac9151 --- /dev/null +++ b/ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap4.min.js @@ -0,0 +1,14 @@ +/*! + DataTables Bootstrap 4 integration + ©2011-2017 SpryMedia Ltd - datatables.net/license +*/ +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var e=a.length,d=0;d<'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>", +renderer:"bootstrap"});a.extend(d.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"});d.ext.renderer.pageButton.bootstrap=function(f,l,A,B,m,t){var u=new d.Api(f),C=f.oClasses,n=f.oLanguage.oPaginate,D=f.oLanguage.oAria.paginate||{},h,k,v=0,y=function(q,w){var x,E=function(p){p.preventDefault(); +a(p.currentTarget).hasClass("disabled")||u.page()==p.data.action||u.page(p.data.action).draw("page")};var r=0;for(x=w.length;r",{"class":C.sPageButton+" "+k,id:0===A&&"string"===typeof g?f.sTableId+"_"+g:null}).append(a("",{href:"#","aria-controls":f.sTableId,"aria-label":D[g],"data-dt-idx":v,tabindex:f.iTabIndex,"class":"page-link"}).html(h)).appendTo(q);f.oApi._fnBindAction(F,{action:g},E);v++}}}};try{var z=a(l).find(c.activeElement).data("dt-idx")}catch(q){}y(a(l).empty().html('
    ').children("ul"),B);z!==e&&a(l).find("[data-dt-idx="+z+"]").trigger("focus")};return d}); -- cgit v1.2.3