Updated text areas CSS class
authorThierry Florac <thierry.florac@onf.fr>
Thu, 12 Jul 2018 18:18:29 +0200
changeset 121 31c780a74151
parent 120 bd9bce89e937
child 122 e6e53cb1785c
Updated text areas CSS class
src/pyams_file/zmi/file.py
--- a/src/pyams_file/zmi/file.py	Mon Jul 09 17:14:09 2018 +0200
+++ b/src/pyams_file/zmi/file.py	Thu Jul 12 18:18:29 2018 +0200
@@ -64,11 +64,6 @@
     def title(self):
         return self.context.title or self.context.filename
 
-    def updateWidgets(self, prefix=None):
-        super(FilePropertiesEditForm, self).updateWidgets()
-        if 'description' in self.widgets:
-            self.widgets['description'].widget_css_class = 'textarea'
-
 
 @view_config(name='properties.json', context=IFile, request_type=IPyAMSLayer,
              permission=VIEW_PERMISSION, renderer='json', xhr=True)