Skip to main content

Bug Tracker

Side navigation

Ticket #3122: alec.patch


File alec.patch, 0.6 KB (added by malte, July 02, 2008 10:36PM UTC)

this patch includes all 3 enhancements

97c97,99
< 				cookieId: "treeview"
---
> 				cookieId: "treeview",
> 				cookiePath: "/",
> 				cookieExpires: 0
99a102,106
> 			var cookieOptions = $.extend({
> 			  expires: settings.cookieExpires,
> 			  path: settings.cookiePath
> 			});
> 			
172c179
< 				$.cookie(settings.cookieId, data.join("") );
---
> 				$.cookie(settings.cookieId, data.join(""), cookieOptions );
180c187,190
< 						$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
---
>             if (!$(e).hasClass("open") && !$(e).hasClass("closed"))
>             {
> 						  $(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
>             }

Download in other formats:

Original Format