CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #32140

Problem with tab/cookie feature

Added by Graham Knight over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2011-11-28
Priority:Should have Due date:
Assignee:Juergen Furrer % Done:

100%

Category:- Spent time: 1.25 hour
Target version:- Estimated time:1.00 hour
Votes: 0

Description

I have a tab object with the cookie expiration set to 30 days. When I look at cookies using Firefox I see the cookie has been created - though, strangely, when I look using Web Developer the cookie is not listed. The tab object seems to ignore the cookie and the first tab is always opened when I view the page.

TYPO3 4.4.3
jfmulticontent 2.5.2

Graham

jquery.cookies.js (1.9 kB) Juergen Furrer, 2011-11-28 23:19

History

Updated by Juergen Furrer over 1 year ago

  • File jquery.cookies.js added
  • Status changed from New to Accepted
  • Assignee set to Juergen Furrer
  • Estimated time set to 1.00

The path option in the jQuery.cookie plugin has an error:
var path = options.path ? '; path=' + (options.path) : '';
should be:
var path = options.path ? "; path='" + (options.path) + "'" : '';

After this patch, the cookie works again

Updated by Juergen Furrer over 1 year ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF