src/pyams_content/component/paragraph/zmi/container.py
changeset 677 d4d704d82df7
parent 645 2e4d8741e2b5
child 844 36af332b6dd0
equal deleted inserted replaced
676:9dc1d14806bc 677:d4d704d82df7
    99 
    99 
   100     @property
   100     @property
   101     def data_attributes(self):
   101     def data_attributes(self):
   102         attributes = super(ParagraphContainerBaseTable, self).data_attributes
   102         attributes = super(ParagraphContainerBaseTable, self).data_attributes
   103         attributes.setdefault('table', {}).update({
   103         attributes.setdefault('table', {}).update({
   104             'id': self.id,
       
   105             'data-ams-plugins': 'pyams_content',
   104             'data-ams-plugins': 'pyams_content',
   106             'data-ams-plugin-pyams_content-src': get_resource_path(pyams_content),
   105             'data-ams-plugin-pyams_content-src': get_resource_path(pyams_content),
   107             'data-ams-location': absolute_url(IParagraphContainer(self.context), self.request),
   106             'data-ams-location': absolute_url(IParagraphContainer(self.context), self.request),
   108             'data-ams-pre-reload': 'PyAMS_content.paragraphs.preReload',
   107             'data-ams-pre-reload': 'PyAMS_content.paragraphs.preReload',
   109             'data-ams-post-reload': 'PyAMS_content.paragraphs.postReload',
   108             'data-ams-post-reload': 'PyAMS_content.paragraphs.postReload',