diff -r 101344a6ff9b -r 294e084f1263 web/views/basecontrollers.py --- a/web/views/basecontrollers.py Tue Feb 02 18:24:45 2010 +0100 +++ b/web/views/basecontrollers.py Wed Feb 03 14:46:32 2010 +0100 @@ -487,6 +487,7 @@ cookies[statename] = ';'.join(marked) self._cw.set_cookie(cookies, statename) + @jsonize def js_set_cookie(self, cookiename, cookievalue): # XXX we should consider jQuery.Cookie cookiename, cookievalue = str(cookiename), str(cookievalue)