Merge branch dev-dc
authorThierry Florac <thierry.florac@onf.fr>
Mon, 12 Nov 2018 14:50:19 +0100
changeset 1081 a7a2eeb833b7
parent 1080 11d950caf9d2 (current diff)
parent 1079 a5e56749ca3d (diff)
child 1082 18e6d6cddcc9
Merge branch dev-dc
src/pyams_content/component/paragraph/zmi/verbatim.py
--- a/src/pyams_content/component/paragraph/zmi/verbatim.py	Mon Nov 12 14:44:27 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/verbatim.py	Mon Nov 12 14:50:19 2018 +0100
@@ -72,9 +72,9 @@
     edit_permission = MANAGE_CONTENT_PERMISSION
 
     def updateWidgets(self, prefix=None):
-        super(VerbatimParagraphAddForm, self).updateWidgets(prefix)
+        super().updateWidgets(prefix)
         if 'quote' in self.widgets:
-            self.widgets['quote'].widget_css_class = 'input height-100'
+            self.widgets['quote'].widget_css_class = 'input height-200'
 
     def create(self, data):
         return VerbatimParagraph()
@@ -115,7 +115,7 @@
     def updateWidgets(self, prefix=None):
         super(VerbatimParagraphPropertiesEditForm, self).updateWidgets(prefix)
         if 'quote' in self.widgets:
-            self.widgets['quote'].widget_css_class = 'input height-100'
+            self.widgets['quote'].widget_css_class = 'input height-200'
 
     def get_ajax_output(self, changes):
         output = super(self.__class__, self).get_ajax_output(changes)