Changed widget CSS class attribute
authorThierry Florac <thierry.florac@onf.fr>
Tue, 15 Nov 2016 10:45:15 +0100
changeset 26 fed07be83b9a
parent 25 8a67d57d53c6
child 27 4d2f97a5b165
Changed widget CSS class attribute
src/pyams_workflow/zmi/transition.py
--- a/src/pyams_workflow/zmi/transition.py	Tue Nov 15 10:44:51 2016 +0100
+++ b/src/pyams_workflow/zmi/transition.py	Tue Nov 15 10:45:15 2016 +0100
@@ -61,7 +61,7 @@
             self.widgets['transition_id'].mode = HIDDEN_MODE
             self.widgets['transition_id'].value = self.request.params.get('form.widgets.transition_id')
         if 'comment' in self.widgets:
-            self.widgets['comment'].label_css_class = 'textarea'
+            self.widgets['comment'].widget_css_class = 'textarea'
 
     def updateActions(self):
         super(WorkflowContentTransitionForm, self).updateActions()