Changeset 3254 in products
- Timestamp:
- Jul 25, 2011 10:16:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/browser/comments.py
r3248 r3254 25 25 def __init__(self, *args): 26 26 super(CommentsViewlet, self).__init__(*args) 27 if hasattr(self, 'login_url') and not hasattr(self,'login_action'):28 # In plone 4.0 in plone.app.layout.viewlets.comments function login_ action29 # was renamed to login_url27 if hasattr(self, 'login_url') and not hasattr(self, 'login_action'): 28 # In plone 4.0 in plone.app.layout.viewlets.comments function 29 # login_ action was renamed to login_url 30 30 self.login_action = self.login_url 31 31 … … 49 49 50 50 def getGravatar(self, reply): 51 """ """ 51 52 purl = getToolByName(self.context, 'portal_url') 52 53 mtool = getToolByName(self.context, 'portal_membership') … … 159 160 node = ksscore.getHtmlIdSelector('span-reply-form-holder-%s' % \ 160 161 comment_id) 161 ksscore.replaceInnerHTML(node, 162 ksscore.replaceInnerHTML(node, html) 162 163 return self.render() 163 164 … … 180 181 html = self.macroContent('context/report_abuse_form/macros/captcha', 181 182 **request.form) 182 ksscore.replaceInnerHTML(node, 183 ksscore.replaceInnerHTML(node, html) 183 184 return self.render()
Note: See TracChangeset
for help on using the changeset viewer.