fix for failure when JSON requesting a comment page with 'more comments' links.

This commit is contained in:
KeyserSosa
2008-07-24 13:45:37 -07:00
parent b147076e5a
commit 348bad9f46

View File

@@ -182,9 +182,14 @@ class CommentJsonTemplate(ThingJsonTemplate):
return d
class MoreCommentJsonTemplate(CommentJsonTemplate):
__data_attrs__ = dict(id = "_id36",
name = "_fullname")
def points(self, wrapped):
return []
def kind(self, wrapped):
return "more"
class MessageJsonTemplate(ThingJsonTemplate):
__data_attrs__ = dict(id = "_id36",
name = "_fullname",