mark getAction() method on folder as obsolete
This commit is contained in:
parent
d1b8ece123
commit
cdb3cd13fc
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 Helmut Merz helmutm@cy55.de
|
# Copyright (c) 2012 Helmut Merz helmutm@cy55.de
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -18,8 +18,6 @@
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Elements for handling and presentation of pseudo folders.
|
Elements for handling and presentation of pseudo folders.
|
||||||
|
|
||||||
$Id$
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,6 +48,7 @@ actions.register('editFolder', 'portlet', DialogAction,
|
||||||
class FolderView(ConceptView):
|
class FolderView(ConceptView):
|
||||||
|
|
||||||
def getActions(self, category='concept', page=None, target=None):
|
def getActions(self, category='concept', page=None, target=None):
|
||||||
|
# obsolete: define actions via type option
|
||||||
if category == 'portlet':
|
if category == 'portlet':
|
||||||
return actions.get(category, ['createFolder', 'editFolder'],
|
return actions.get(category, ['createFolder', 'editFolder'],
|
||||||
view=self, page=page, target=target)
|
view=self, page=page, target=target)
|
||||||
|
|
Loading…
Add table
Reference in a new issue