Updated text areas CSS class
authorThierry Florac <thierry.florac@onf.fr>
Thu, 12 Jul 2018 18:20:18 +0200
changeset 82 e87f21d6127b
parent 81 2c9c43b12a69
child 83 cec5c70cfd1c
Updated text areas CSS class
src/pyams_zmi/zmi/site.py
--- a/src/pyams_zmi/zmi/site.py	Mon Jul 09 13:46:13 2018 +0200
+++ b/src/pyams_zmi/zmi/site.py	Thu Jul 12 18:20:18 2018 +0200
@@ -162,13 +162,6 @@
     def getContent(self):
         return IBackOfficeConfiguration(self.context)
 
-    def updateWidgets(self, prefix=None):
-        super(BackOfficePropertiesEditForm, self).updateWidgets(prefix)
-        if 'login_header' in self.widgets:
-            self.widgets['login_header'].widget_css_class = 'textarea'
-        if 'login_footer' in self.widgets:
-            self.widgets['login_footer'].widget_css_class = 'textarea'
-
 
 @view_config(name='back-office-properties.json', context=ISiteRoot, request_type=IPyAMSLayer,
              permission=MANAGE_SYSTEM_PERMISSION, renderer='json', xhr=True)