diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index a8289f65..29b01c61 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -2058,6 +2058,9 @@ } } + /* If there is an 'empty' indicator row, remove it */ + $('tbody>tr>td.'+oSettings.oClasses.sRowEmpty, oSettings.nTable).parent().remove(); + /* When scrolling we had to break the table up - restore it */ if ( oSettings.nTable != oSettings.nTHead.parentNode ) { @@ -5733,7 +5736,7 @@ sValue += '"iStart":'+ oSettings._iDisplayStart+','; sValue += '"iEnd":'+ oSettings._iDisplayEnd+','; sValue += '"iLength":'+ oSettings._iDisplayLength+','; - sValue += '"sFilter":"'+ oSettings.oPreviousSearch.sSearch.replace('"','\\"')+'",'; + sValue += '"sFilter":"'+ escape(oSettings.oPreviousSearch.sSearch)+'",'; sValue += '"sFilterEsc":'+ !oSettings.oPreviousSearch.bRegex+','; sValue += '"aaSorting":['; @@ -5747,7 +5750,7 @@ sValue += '"aaSearchCols":['; for ( i=0 ; i