Removed table ID attribute
authorThierry Florac <thierry.florac@onf.fr>
Thu, 14 Jun 2018 09:11:51 +0200
changeset 674 324e4f5a378b
parent 673 e609ce907277
child 675 d0f98180ef0d
Removed table ID attribute
src/pyams_content/shared/imagemap/zmi/container.py
--- a/src/pyams_content/shared/imagemap/zmi/container.py	Thu Jun 14 09:07:05 2018 +0200
+++ b/src/pyams_content/shared/imagemap/zmi/container.py	Thu Jun 14 09:11:51 2018 +0200
@@ -90,7 +90,6 @@
     def data_attributes(self):
         attributes = super(ImagemapAreasTable, self).data_attributes
         attributes.setdefault('table', {}).update({
-            'id': self.id,
             'data-ams-location': absolute_url(self.context, self.request),
             'data-ams-datatable-sort': 'false',
             'data-ams-datatable-pagination': 'false'