From e0d3a3aadc5249df98ce0bdbbaf1ef7687ad4de0 Mon Sep 17 00:00:00 2001 From: Daniel Stoeckel Date: Mon, 12 Oct 2015 17:26:14 +0200 Subject: [PATCH] [bootstrap] Replace use of … with … Using the … HTML entity breaks XHTML pages. Using the hexadecimal entity code resolves this. --- integration/bootstrap/3/dataTables.bootstrap.js | 2 +- integration/bootstrap/3/dataTables.bootstrap.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/bootstrap/3/dataTables.bootstrap.js b/integration/bootstrap/3/dataTables.bootstrap.js index dcc561f..876d82c 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.js +++ b/integration/bootstrap/3/dataTables.bootstrap.js @@ -62,7 +62,7 @@ DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, bu switch ( button ) { case 'ellipsis': - btnDisplay = '…'; + btnDisplay = '…'; btnClass = 'disabled'; break; diff --git a/integration/bootstrap/3/dataTables.bootstrap.min.js b/integration/bootstrap/3/dataTables.bootstrap.min.js index 85f7d06..247627e 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.min.js +++ b/integration/bootstrap/3/dataTables.bootstrap.min.js @@ -3,6 +3,6 @@ ©2011-2014 SpryMedia Ltd - datatables.net/license */ (function(l,q){var e=function(b,c){b.extend(!0,c.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(c.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm"});c.ext.renderer.pageButton.bootstrap=function(g,e,r,s,i,m){var t=new c.Api(g),u=g.oClasses,j=g.oLanguage.oPaginate,d,f,n=0,p=function(c,e){var k,h,o,a,l=function(a){a.preventDefault(); -b(a.currentTarget).hasClass("disabled")||t.page(a.data.action).draw(!1)};k=0;for(h=e.length;k",{"class":u.sPageButton+" "+ +b(a.currentTarget).hasClass("disabled")||t.page(a.data.action).draw(!1)};k=0;for(h=e.length;k",{"class":u.sPageButton+" "+ f,id:0===r&&"string"===typeof a?g.sTableId+"_"+a:null}).append(b("",{href:"#","aria-controls":g.sTableId,"data-dt-idx":n,tabindex:g.iTabIndex}).html(d)).appendTo(c),g.oApi._fnBindAction(o,{action:a},l),n++)}},h;try{h=b(q.activeElement).data("dt-idx")}catch(l){}p(b(e).empty().html('
    ').children("ul"),s);h&&b(e).find("[data-dt-idx="+h+"]").focus()};c.TableTools&&(b.extend(!0,c.TableTools.classes,{container:"DTTT btn-group",buttons:{normal:"btn btn-default",disabled:"disabled"}, collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info"},select:{row:"active"}}),b.extend(!0,c.TableTools.DEFAULTS.oTags,{collection:{container:"ul",button:"li",liner:"a"}}))};"function"===typeof define&&define.amd?define(["jquery","datatables"],e):"object"===typeof exports?e(require("jquery"),require("datatables")):jQuery&&e(jQuery,jQuery.fn.dataTable)})(window,document);