author | Thierry Florac <thierry.florac@onf.fr> |
Tue, 12 Sep 2017 11:30:45 +0200 | |
changeset 146 | 221775601fe7 |
parent 145 | a3e3347f33b5 |
child 147 | 298fd55f6554 |
src/pyams_content/component/illustration/zmi/__init__.py | file | annotate | diff | comparison | revisions |
--- a/src/pyams_content/component/illustration/zmi/__init__.py Tue Sep 12 11:22:42 2017 +0200 +++ b/src/pyams_content/component/illustration/zmi/__init__.py Tue Sep 12 11:30:45 2017 +0200 @@ -102,6 +102,9 @@ def getContent(self): return IIllustration(self.context) + def check_mode(self): + self.mode = self.parent_form.mode + def updateWidgets(self, prefix=None): super(IllustrationPropertiesInnerEditForm, self).updateWidgets(prefix) if 'description' in self.widgets: