bug fix for comments: use correct target URL

This commit is contained in:
Helmut Merz 2012-02-17 13:47:39 +01:00
parent 06a117f5d7
commit b55ee6a7dd

View file

@ -57,7 +57,8 @@ class CommentsView(NodeView):
@Lazy @Lazy
def addUrl(self): def addUrl(self):
return '%s/create_comment.html' % self.getUrlForTarget(self.context) return '%s/create_comment.html' % self.virtualTargetUrl
#return '%s/create_comment.html' % self.getUrlForTarget(self.context)
@Lazy @Lazy
def addOnClick(self): def addOnClick(self):