[treeview] nicer cookie name
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 17 Jul 2009 20:18:39 +0200
changeset 2391 59a2def75e93
parent 2390 c0d09a4ca3dc
child 2399 68799e25f893
[treeview] nicer cookie name
web/views/treeview.py
--- a/web/views/treeview.py	Fri Jul 17 19:48:04 2009 +0200
+++ b/web/views/treeview.py	Fri Jul 17 20:18:39 2009 +0200
@@ -16,7 +16,7 @@
 from cubicweb.view import EntityView
 
 def treecookiename(treeid):
-    return str('treestate-%s' % treeid)
+    return str('%s-treestate' % treeid)
 
 class TreeView(EntityView):
     id = 'treeview'