diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 73756833..eb87fd5f 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -4f1b9dafc096447b9e924ba645ed80b6c5762570 +7e8f65896fcb309feb2e96f4bd531183d907a69b diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 43578a3b..6642b3fe 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -8010,7 +8010,7 @@ if ( ctx.length ) { var row = ctx[0].aoData[ idx !== undefined ? idx : api[0] ]; - if ( row._details ) { + if ( row && row._details ) { row._details.remove(); row._detailsShow = undefined; diff --git a/media/js/jquery.dataTables.min.js b/media/js/jquery.dataTables.min.js index 540c9042..b91e4c7f 100644 --- a/media/js/jquery.dataTables.min.js +++ b/media/js/jquery.dataTables.min.js @@ -110,8 +110,8 @@ j?f.push(c):(d=h.inArray(c,g),(-1===d&&"removed"==j||0<=d&&"applied"==j)&&f.push h.inArray(a,b)!==-1?[a._DT_RowIndex]:h(b).filter(a).map(function(){return this._DT_RowIndex}).toArray()},c,d)},1);c.selector.rows=a;c.selector.opts=b;return c});p("rows().nodes()",function(){return this.iterator("row",function(a,b){return a.aoData[b].nTr||k},1)});p("rows().data()",function(){return this.iterator(!0,"rows",function(a,b){return ia(a.aoData,b,"_aData")},1)});u("rows().cache()","row().cache()",function(a){return this.iterator("row",function(b,c){var e=b.aoData[c];return"search"===a?e._aFilterData: e._aSortData},1)});u("rows().invalidate()","row().invalidate()",function(a){return this.iterator("row",function(b,c){da(b,c,a)})});u("rows().indexes()","row().index()",function(){return this.iterator("row",function(a,b){return b},1)});u("rows().ids()","row().id()",function(a){return this.iterator("row",function(b,c){return(a?"#":"")+b.rowId(b.aoData[c]._aData)},1)});u("rows().remove()","row().remove()",function(){var a=this;return this.iterator("row",function(b,c,e){var d=b.aoData;d.splice(c,1);for(var f= 0,g=d.length;f").addClass(b),h("td",c).addClass(b).html(a)[0].colSpan=ba(e),d.push(c[0]))};f(a,b);c._details&&c._details.remove();c._details=h(d);c._detailsShow&&c._details.insertAfter(c.nTr)}return this});p(["row().child.show()","row().child().show()"],function(){Vb(this, !0);return this});p(["row().child.hide()","row().child().hide()"],function(){Vb(this,!1);return this});p(["row().child.remove()","row().child().remove()"],function(){cb(this);return this});p("row().child.isShown()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]]._detailsShow||!1:!1});var dc=/^(.+):(name|visIdx|visible)$/,Wb=function(a,b,c,e,d){for(var c=[],e=0,f=d.length;e