Updated textarea CSS class
authorThierry Florac <thierry.florac@onf.fr>
Fri, 13 Jul 2018 16:46:41 +0200
changeset 153 8dc4a35478d4
parent 152 ef23e5fce48a
child 154 0734dda7bc82
Updated textarea CSS class
src/pyams_portal/portlets/html/zmi/__init__.py
--- a/src/pyams_portal/portlets/html/zmi/__init__.py	Wed Jul 11 17:10:41 2018 +0200
+++ b/src/pyams_portal/portlets/html/zmi/__init__.py	Fri Jul 13 16:46:41 2018 +0200
@@ -52,7 +52,7 @@
     def updateWidgets(self, prefix=None):
         super(RawPortletSettingsPropertiesEditor, self).updateWidgets(prefix)
         if 'body' in self.widgets:
-            self.widgets['body'].widget_css_class = 'textarea height-100'
+            self.widgets['body'].widget_css_class = 'input height-100'
 
 
 @adapter_config(name='properties.json', context=(IRawPortletSettings, IPyAMSLayer), provides=IPagelet)