JSON Cookie.get fails in IE6
Reported by LemmingKing | November 23rd, 2010 @ 10:42 AM
Hi,
When cookie with the specified name is not present, loading JSON cookie fails in IE6 (at least).
This can be fixed by editing the Cookie.get() method in right-json plugin:
135: get: function() {
136: var string = old_get.call(this);
137: return (isString(string) && string) ?
JSON.parse(string) : null;
138: }
Alexey Dubinin
Comments and changes to this ticket
-
MadRabbit December 25th, 2010 @ 07:02 PM
- State changed from new to resolved
- Tag changed from cookie json to cookie, json
Sorry for a bit of delay, been busy a little.
Just fixed the issue. There are fresh builds at the attachment.
Cheers.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RightJS Core Tickets