equal
deleted
inserted
replaced
63 """a tab mixin |
63 """a tab mixin |
64 """ |
64 """ |
65 |
65 |
66 @property |
66 @property |
67 def cookie_name(self): |
67 def cookie_name(self): |
68 return str('%s_active_tab' % self._cw.config.appid) |
68 return str('%s_active_tab' % self._cw.vreg.config.appid) |
69 |
69 |
70 def active_tab(self, default): |
70 def active_tab(self, default): |
71 if 'tab' in self._cw.form: |
71 if 'tab' in self._cw.form: |
72 return self._cw.form['tab'] |
72 return self._cw.form['tab'] |
73 cookies = self._cw.get_cookie() |
73 cookies = self._cw.get_cookie() |