From e8fc79f85853bd57ee2e1dc6eb9befcc8e1eab45 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Tue, 13 Oct 2015 15:29:49 +0100 Subject: [PATCH] Fix: Bootstrap and Foundation integration XHTML error for ellipsis entity - From @dstoeckel DataTables/Plugins/pull/225 --- .datatables-commit-sync | 2 +- media/js/dataTables.bootstrap.js | 2 +- media/js/dataTables.bootstrap.min.js | 2 +- media/js/dataTables.foundation.js | 2 +- media/js/dataTables.foundation.min.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index e6192a38..f7e5b652 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -28b728bd8c6913101520dc48d74f77a670b63b57 +af2610be0a9525494d934559e345961d5941efce diff --git a/media/js/dataTables.bootstrap.js b/media/js/dataTables.bootstrap.js index 5b91d8c9..6c28cdeb 100644 --- a/media/js/dataTables.bootstrap.js +++ b/media/js/dataTables.bootstrap.js @@ -80,7 +80,7 @@ DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, bu switch ( button ) { case 'ellipsis': - btnDisplay = '…'; + btnDisplay = '…'; btnClass = 'disabled'; break; diff --git a/media/js/dataTables.bootstrap.min.js b/media/js/dataTables.bootstrap.min.js index ce3d9bb1..863c0934 100644 --- a/media/js/dataTables.bootstrap.min.js +++ b/media/js/dataTables.bootstrap.min.js @@ -3,7 +3,7 @@ ©2011-2015 SpryMedia Ltd - datatables.net/license */ (function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],b):"object"===typeof exports?module.exports=function(a){a||(a=require("jquery"));a.fn.dataTable||require("datatables.net")(a);b(a)}:b(jQuery)})(function(b){var a=b.fn.dataTable;b.extend(!0,a.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"});b.extend(a.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"});a.ext.renderer.pageButton.bootstrap=function(f,g,r,l,i,m){var n=new a.Api(f),s=f.oClasses,j=f.oLanguage.oPaginate,d,e,o=0,q=function(a,g){var k,h,p,c,l=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&n.page()!=a.data.action&&n.page(a.data.action).draw("page")};k=0;for(h=g.length;k",{"class":s.sPageButton+" "+e,id:0===r&&"string"===typeof c?f.sTableId+"_"+c:null}).append(b("",{href:"#","aria-controls":f.sTableId,"data-dt-idx":o,tabindex:f.iTabIndex}).html(d)).appendTo(a),f.oApi._fnBindAction(p,{action:c}, l),o++)}},h;try{h=b(g).find(document.activeElement).data("dt-idx")}catch(t){}q(b(g).empty().html('