Commit 23f3a61c authored by Aurel's avatar Aurel

manage_main can take any params

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16738 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a20dbee4
......@@ -644,12 +644,12 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn,
else:
return CMFBTreeFolder.manage_object_workspace(self, ids, REQUEST)
def manage_main(self, ids=(), REQUEST=None):
def manage_main(self, *args, **kw):
''' List content.'''
if self._folder_handler == HBTREE_HANDLER:
return CMFHBTreeFolder.manage_main.__of__(self)(self, ids, REQUEST)
return CMFHBTreeFolder.manage_main.__of__(self)(self, *args, **kw)
else:
return CMFBTreeFolder.manage_main.__of__(self)(self, ids, REQUEST)
return CMFBTreeFolder.manage_main.__of__(self)(self, *args, **kw)
def tpValues(self):
"""Ensures the items don't show up in the left pane.
......
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