Modification des attributs du champ "bloc-note"
authorThierry Florac <thierry.florac@onf.fr>
Mon, 02 Oct 2017 15:14:45 +0200
changeset 189 85bbfd8dcd65
parent 188 4a7679f7f16c
child 190 1402402dcf1c
Modification des attributs du champ "bloc-note"
src/pyams_content/shared/common/zmi/__init__.py
--- a/src/pyams_content/shared/common/zmi/__init__.py	Mon Oct 02 14:43:28 2017 +0200
+++ b/src/pyams_content/shared/common/zmi/__init__.py	Mon Oct 02 15:14:45 2017 +0200
@@ -79,8 +79,6 @@
         if 'title' in self.widgets:
             self.widgets['title'].description = _("This title can be modified afterwards")
         if 'notepad' in self.widgets:
-            self.widgets['notepad'].label = IWorkflowCommentInfo['comment'].title
-            self.widgets['notepad'].description = IWorkflowCommentInfo['comment'].description
             self.widgets['notepad'].widget_css_class = 'textarea'
 
     def create(self, data):