Log message for revision 41504:
- no need to hardcode the buttons in __call__
Changed:
U CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py
-=-
Modified: CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py
===================================================================
--- CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py
2006-01-30 18:31:56 UTC (rev 41503)
+++ CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py
2006-01-30 19:01:22 UTC (rev 41504)
@@ -5,7 +5,7 @@
class FormViewBase:
- def __call__(self, change='', change_and_view=''):
+ def __call__(self, **kw):
form = self.request.form
for button in self._BUTTONS:
if button['name'] in form:
_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins