Removed table ID attribute
authorThierry Florac <thierry.florac@onf.fr>
Thu, 14 Jun 2018 09:16:23 +0200
changeset 677 d4d704d82df7
parent 676 9dc1d14806bc
child 678 259e16f7189d
Removed table ID attribute
src/pyams_content/component/paragraph/zmi/container.py
--- a/src/pyams_content/component/paragraph/zmi/container.py	Thu Jun 14 09:12:44 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/container.py	Thu Jun 14 09:16:23 2018 +0200
@@ -101,7 +101,6 @@
     def data_attributes(self):
         attributes = super(ParagraphContainerBaseTable, self).data_attributes
         attributes.setdefault('table', {}).update({
-            'id': self.id,
             'data-ams-plugins': 'pyams_content',
             'data-ams-plugin-pyams_content-src': get_resource_path(pyams_content),
             'data-ams-location': absolute_url(IParagraphContainer(self.context), self.request),