Commit d0172627 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! fixup! Formulator: prepare DateTimeField's sub_form dynamically.

parent c4f60ee3
...@@ -493,8 +493,10 @@ class ProxyField(ZMIField): ...@@ -493,8 +493,10 @@ class ProxyField(ZMIField):
field = template_field field = template_field
return template_field return template_field
def _get_sub_form(self): def _get_sub_form(self, field=None):
return self.getTemplateField()._get_sub_form(field=self) if field is None:
field = self
return self.getTemplateField()._get_sub_form(field=field)
security.declareProtected('Access contents information', security.declareProtected('Access contents information',
'is_delegated') 'is_delegated')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment