Added missing "data-toggle" attribute
authorThierry Florac <thierry.florac@onf.fr>
Thu, 02 Jun 2016 16:19:18 +0200
changeset 65 e2733978d478
parent 64 59d37fc75008
child 66 f76e2610d4d9
Added missing "data-toggle" attribute
src/pyams_security/zmi/plugin/social.py
--- a/src/pyams_security/zmi/plugin/social.py	Thu Jun 02 16:18:03 2016 +0200
+++ b/src/pyams_security/zmi/plugin/social.py	Thu Jun 02 16:19:18 2016 +0200
@@ -297,8 +297,8 @@
         if manager is not None:
             return {'table': {'data-ams-location': absolute_url(ISocialLoginConfiguration(manager), self.request),
                               'data-ams-delete-target': 'delete-provider.json'},
-                    'tr': {'data-ams-element-name': lambda x: x.provider_name,
-                           'data-ams-url': lambda x: absolute_url(x, self.request, 'properties.html'),
+                    'tr': {'data-ams-element-name': lambda x, col: x.provider_name,
+                           'data-ams-url': lambda x, col: absolute_url(x, self.request, 'properties.html'),
                            'data-toggle': 'modal'}}
         return {}