_fnSaveState errors

_fnSaveState errors

dbdb Posts: 1Questions: 0Answers: 0
edited March 2009 in Bug reports
i just set bStateSave : true and got an error when the cookie was read. i changed lines 3048 and 3049:
sValue += '"sFilterEsc": "'+oSettings.oPreviousSearch.bEscapeRegex;
sValue += '"aaSorting": [ ';

sValue += '"sFilterEsc": '+oSettings.oPreviousSearch.bEscapeRegex; // remove last double quote
sValue += ',"aaSorting": [ '; // add comma

works ok. thanks for all your work.


  • allanallan Posts: 62,211Questions: 1Answers: 10,205 Site admin
    Hi db,

    Argh... Sorry about this - and thanks for spotting it (and even more so for letting me know). I've just released 1.4.2 which fixes this error (and two other minor things) - but this is critical enough to prompt a quick release.

    I'm currently working on a unit testing framework to stop things like this getting through in future - just need the time... :-)

This discussion has been closed.