From 05995bd6555c4225b68492b4a292181def38db00 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Fri, 20 Aug 2010 18:58:25 +0100 Subject: [PATCH] Fixed (from last commit): Incorrect variable when saving state caused state saving to stop working Fixed: Removed unnecessary white space from state saving cookies --- media/js/jquery.dataTables.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 366782fc..66b297bb 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -5625,14 +5625,14 @@ /* Store the interesting variables */ var i; var sValue = "{"; - sValue += '"iCreate": '+new Date().getTime()+','; - sValue += '"iStart": '+oSettings._iDisplayStart+','; - sValue += '"iEnd": '+oSettings._iDisplayEnd+','; - sValue += '"iLength": '+oSettings._iDisplayLength+','; - sValue += '"sFilter": "'+oSettings.oPreviousSearch.sSearch.replace('"','\\"')+'",'; - sValue += '"sFilterEsc": '+!oSettings.oPreviousSearch.bRegex+','; + sValue += '"iCreate":'+ new Date().getTime()+','; + sValue += '"iStart":'+ oSettings._iDisplayStart+','; + sValue += '"iEnd":'+ oSettings._iDisplayEnd+','; + sValue += '"iLength":'+ oSettings._iDisplayLength+','; + sValue += '"sFilter":"'+ oSettings.oPreviousSearch.sSearch.replace('"','\\"')+'",'; + sValue += '"sFilterEsc":'+ !oSettings.oPreviousSearch.bRegex+','; - sValue += '"aaSorting": [ '; + sValue += '"aaSorting":['; for ( i=0 ; i