branch | stable |
changeset 4420 | a9a8628a1a87 |
parent 4212 | ab6573088b4a |
child 4436 | 294e084f1263 |
child 4557 | a0571ff0cb5d |
--- a/web/views/basecontrollers.py Fri Jan 29 18:03:10 2010 +0100 +++ b/web/views/basecontrollers.py Mon Feb 01 18:54:46 2010 +0100 @@ -487,6 +487,7 @@ cookies[statename] = ';'.join(marked) self.req.set_cookie(cookies, statename) + @jsonize def js_set_cookie(self, cookiename, cookievalue): # XXX we should consider jQuery.Cookie cookiename, cookievalue = str(cookiename), str(cookievalue)