diff --git a/.datatables-commit-sync b/.datatables-commit-sync index a53ef995..365f99ac 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -5d64977a49bfaccbfcf63231876399d0f1e47296 +edb30c1f75de39ab6b573711fd059bbced6ac6ee diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 528e4524..de08c17d 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -7587,6 +7587,7 @@ // Assign the first element to the first item in the instance // and truncate the instance and context inst[0] = inst[i]; + inst[0].length = 1; inst.length = 1; inst.context = [ inst.context[i] ]; diff --git a/media/js/jquery.dataTables.min.js b/media/js/jquery.dataTables.min.js index c4cc9863..e7e9dc2f 100644 --- a/media/js/jquery.dataTables.min.js +++ b/media/js/jquery.dataTables.min.js @@ -103,8 +103,8 @@ function(a){var a=this.tables(a),b=a.context;return b.length?new s(b[0]):a});v(" c),pages:d?1:Math.ceil(e/c),start:b,end:a.fnDisplayEnd(),length:c,recordsTotal:a.fnRecordsTotal(),recordsDisplay:e}});r("page.len()",function(a){return a===k?0!==this.context.length?this.context[0]._iDisplayLength:k:this.iterator("table",function(b){Ra(b,a)})});var Ub=function(a,b,c){if(c){var e=new s(a);e.one("draw",function(){c(e.ajax.json())})}"ssp"==B(a)?M(a,b):(C(a,!0),ra(a,[],function(c){oa(a);for(var c=sa(a,c),e=0,g=c.length;e