src/pyams_content/shared/imagemap/zmi/container.py
changeset 674 324e4f5a378b
parent 668 a63bc2aa60bb
child 1429 9b93fdd5ba30
equal deleted inserted replaced
673:e609ce907277 674:324e4f5a378b
    88 
    88 
    89     @property
    89     @property
    90     def data_attributes(self):
    90     def data_attributes(self):
    91         attributes = super(ImagemapAreasTable, self).data_attributes
    91         attributes = super(ImagemapAreasTable, self).data_attributes
    92         attributes.setdefault('table', {}).update({
    92         attributes.setdefault('table', {}).update({
    93             'id': self.id,
       
    94             'data-ams-location': absolute_url(self.context, self.request),
    93             'data-ams-location': absolute_url(self.context, self.request),
    95             'data-ams-datatable-sort': 'false',
    94             'data-ams-datatable-sort': 'false',
    96             'data-ams-datatable-pagination': 'false'
    95             'data-ams-datatable-pagination': 'false'
    97         })
    96         })
    98         return attributes
    97         return attributes