mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-24 08:04:08 +01:00
No more CookieManager since it's dependent on Prototype
This commit is contained in:
parent
e57e1445b4
commit
fac5e7ca83
6 changed files with 106 additions and 131 deletions
|
|
@ -11,12 +11,12 @@
|
|||
if (Element.visible(toggleTarget))
|
||||
{
|
||||
todoItems.collapseNextActionListing(this, toggleTarget);
|
||||
todoItems.contextCollapseCookieManager.setCookie(todoItems.buildCookieName(containerElem), true)
|
||||
$.cookie(todoItems.buildCookieName(containerElem), true);
|
||||
}
|
||||
else
|
||||
{
|
||||
todoItems.expandNextActionListing(this, toggleTarget);
|
||||
todoItems.contextCollapseCookieManager.clearCookie(todoItems.buildCookieName(containerElem))
|
||||
$.cookie(todoItems.buildCookieName(containerElem), null);
|
||||
}
|
||||
}
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue