--- a/src/pyams_content/shared/imagemap/zmi/container.py Wed Jun 13 15:38:26 2018 +0200
+++ b/src/pyams_content/shared/imagemap/zmi/container.py Wed Jun 13 16:17:57 2018 +0200
@@ -89,11 +89,12 @@
@property
def data_attributes(self):
attributes = super(ImagemapAreasTable, self).data_attributes
- attributes['table'] = {
+ 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'
- }
+ })
return attributes
@reify