_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": [ ';

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

works ok. thanks for all your work.
cheers,
db

Replies

  • allanallan Posts: 61,438Questions: 1Answers: 10,052 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... :-)

    Regards,
    Allan
This discussion has been closed.