ID attribute defined by default...
authorThierry Florac <thierry.florac@onf.fr>
Thu, 14 Jun 2018 09:07:05 +0200
changeset 673 e609ce907277
parent 672 adff375e9deb
child 674 324e4f5a378b
ID attribute defined by default...
src/pyams_content/features/menu/zmi/__init__.py
--- a/src/pyams_content/features/menu/zmi/__init__.py	Wed Jun 13 17:34:04 2018 +0200
+++ b/src/pyams_content/features/menu/zmi/__init__.py	Thu Jun 14 09:07:05 2018 +0200
@@ -163,7 +163,6 @@
         menus = getattr(self.context, self.associations_name)
         attributes = super(MenusTable, self).data_attributes
         attributes.setdefault('table', {}).update({
-            'id': self.id,
             'data-ams-location': absolute_url(menus, self.request),
             'data-ams-tablednd-drag-handle': 'td.sorter',
             'data-ams-tablednd-drop-target': 'set-menus-order.json',