src/pyams_content/component/illustration/zmi/__init__.py
changeset 146 221775601fe7
parent 140 67bad9f880ee
child 161 a5545e09b203
--- 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: