author | Thierry Florac <thierry.florac@onf.fr> |
Mon, 18 Jan 2016 18:40:52 +0100 | |
changeset 116 | 89efe1933eb5 |
parent 115 | 2de951190b08 |
child 117 | 00bfb7b29d9e |
--- a/src/pyams_skin/table.py Mon Jan 18 18:40:25 2016 +0100 +++ b/src/pyams_skin/table.py Mon Jan 18 18:40:52 2016 +0100 @@ -253,7 +253,7 @@ return '' -class TrashColumn(ActionColumn): +class TrashColumn(JsActionColumn): """Trash action icon column""" url = 'MyAMS.container.deleteElement' @@ -261,6 +261,3 @@ icon_hint = _("Delete object") permission = MANAGE_PERMISSION weight = 9999 - - def get_url(self, item): - return self.url