We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
here is a small patch to add options the the cookie persistance:
modwork_esg_d@workdevel114:~$ diff -u media/jquery-treetable/javascripts/jquery.treeTable.js-orig media/jquery-treetable/javascripts/jquery.treeTable.js --- media/jquery-treetable/javascripts/jquery.treeTable.js-orig 2011-11-21 15:14:04.916003117 +0100 +++ media/jquery-treetable/javascripts/jquery.treeTable.js 2011-11-21 14:50:38.013003191 +0100 @@ -53,7 +53,8 @@ onNodeHide: null, treeColumn: 0, persist: false, - persistCookiePrefix: 'treeTable_' + persistCookiePrefix: 'treeTable_', + persistCookieOptions: {} }; // Recursively hide all node's children in a tree @@ -150,7 +151,7 @@ if (options.persist) { // Store cookie if this node is expanded, otherwise delete cookie. var cookieName = options.persistCookiePrefix + $(this).attr('id'); - $.cookie(cookieName, $(this).hasClass('expanded') ? 'true' : null); + $.cookie(cookieName, $(this).hasClass('expanded') ? 'true' : null, options.persistCookieOptions); } return this;
The text was updated successfully, but these errors were encountered:
Thanks. Applied in master.
Sorry, something went wrong.
No branches or pull requests
Hi,
here is a small patch to add options the the cookie persistance:
The text was updated successfully, but these errors were encountered: