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.bootstrap.min.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap.min.js (limited to 'ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap.min.js') diff --git a/ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap.min.js b/ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap.min.js new file mode 100644 index 0000000..781eb7b --- /dev/null +++ b/ctrack/static/DataTables/DataTables-1.10.22/js/dataTables.bootstrap.min.js @@ -0,0 +1,14 @@ +/*! + DataTables Bootstrap 3 integration + ©2011-2015 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-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"});a.extend(d.ext.classes, +{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"});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}).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