web/views/tabs.py
branchstable
changeset 7855 54283a5b7afc
parent 7820 2c73fc529a20
child 7879 9aae456abab5
--- a/web/views/tabs.py	Fri Sep 23 12:17:12 2011 +0200
+++ b/web/views/tabs.py	Fri Sep 23 12:16:29 2011 +0200
@@ -93,8 +93,7 @@
         activetab = cookies.get(cookiename)
         if activetab is None:
             domid = uilib.domid(default)
-            cookies[cookiename] = domid
-            self._cw.set_cookie(cookies, cookiename)
+            self._cw.set_cookie(cookiename, domid)
             return domid
         return activetab.value