web/views/bookmark.py
changeset 6039 6e84db1b3e44
parent 5877 0c7b7b76a84f
child 6140 65a619eb31c4
--- a/web/views/bookmark.py	Wed Jul 28 16:31:32 2010 +0200
+++ b/web/views/bookmark.py	Fri Jul 30 10:02:31 2010 +0200
@@ -115,7 +115,8 @@
             path = req.relative_path()
             # XXX if vtitle specified in params, extract it and use it as default value
             # for bookmark's title
-            url = self.create_url(self.etype, __linkto=linkto, path=path)
+            url = req.vreg['etypes'].etype_class('Bookmark').cw_create_url(
+                req, __linkto=linkto, path=path)
             boxmenu.append(self.mk_action(req._('bookmark this page'), url,
                                           category='manage', id='bookmark'))
             if rset: