Commit 502926d5 authored by Jérome Perrin's avatar Jérome Perrin

update ActionProviderBase patch to support CMF 1.5 keys for action infos

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7072 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca08d429
......@@ -26,8 +26,9 @@ def ActionProviderBase_manage_editActionsForm( self, REQUEST, manage_tabs_messag
a1 = {}
a1['id'] = a.getId()
a1['name'] = a.Title()
a1['title'] = a1['name'] = a.Title()
p = a.getPermissions()
a1['permissions'] = p
if p:
a1['permission'] = p[0]
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment