Changeset 3248 in products
- Timestamp:
- Jul 5, 2011 12:20:47 PM (13 years ago)
- Location:
- quintagroup.plonecomments/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/docs/HISTORY.txt
r3070 r3248 1 1 Changelog 2 2 ========= 3 4 4.1.7 (unreleased) 5 ------------------ 6 - fix problem with no "login_action" in plone 4 [enkidu] 7 3 8 4 9 4.1.6 (2011-02-18) -
quintagroup.plonecomments/trunk/quintagroup/plonecomments/browser/comments.py
r3126 r3248 22 22 """ 23 23 render = ViewPageTemplateFile('comments.pt') 24 25 def __init__(self, *args): 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_ action 29 # was renamed to login_url 30 self.login_action = self.login_url 24 31 25 32 def is_moderation_enabled(self):
Note: See TracChangeset
for help on using the changeset viewer.