allow classifying folder to be created in Members/ (#4257)

This commit is contained in:
Frédéric Péters 2014-02-04 14:15:21 +01:00
parent 5d1b7add5d
commit 05993fa721
1 changed files with 3 additions and 0 deletions

View File

@ -208,6 +208,9 @@ def move_to_proper_location(context, event):
if folder.id == 'documents' and aq_parent(folder).portal_type == 'Plone Site':
# the document is already in the right place, good
return
if folder.id == 'Members' and aq_parent(folder).portal_type == 'Plone Site':
# the document is already in the right place, good
return
# add a link to classifying folder
intids = component.getUtility(IIntIds)