Updated text areas CSS class
authorThierry Florac <thierry.florac@onf.fr>
Thu, 12 Jul 2018 18:17:45 +0200
changeset 60 b9dcdaf1aae4
parent 59 e2d00d3ee3c1
child 61 e8c93d4d0479
Updated text areas CSS class
src/pyams_alchemy/zmi/engine.py
--- a/src/pyams_alchemy/zmi/engine.py	Thu Jul 12 18:17:34 2018 +0200
+++ b/src/pyams_alchemy/zmi/engine.py	Thu Jul 12 18:17:45 2018 +0200
@@ -168,11 +168,6 @@
     def form_target(self):
         return '#{0}_test_result'.format(self.id)
 
-    def updateWidgets(self, prefix=None):
-        super(AlchemyEngineTestForm, self).updateWidgets(prefix)
-        if 'query' in self.widgets:
-            self.widgets['query'].widget_css_class = 'textarea'
-
     def updateActions(self):
         super(AlchemyEngineTestForm, self).updateActions()
         if 'execute' in self.actions: