author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 01 Feb 2010 18:54:46 +0100 | |
branch | stable |
changeset 4420 | a9a8628a1a87 |
parent 4411 | d0bde029f625 |
child 4421 | 709bc9ea6d1e |
--- 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)