This commit is contained in:
Frédéric Péters 2014-02-08 13:17:00 +01:00
parent 0ea1d7a3ef
commit c5110ae617
1 changed files with 2 additions and 2 deletions

View File

@ -192,10 +192,10 @@ def move_to_proper_location(context, event):
folder = context.getParentNode()
if context.portal_type == 'pfwbgedfolder':
if folder.id == 'Members' and aq_parent(folder).portal_type == 'Plone Site':
# the fodler is already in the right place, good
# the folder is already in the right place, good
return
if folder.id == 'dossiers' and aq_parent(folder).portal_type == 'Plone Site':
# the fodler is already in the right place, good
# the folder is already in the right place, good
return
else:
if folder.id == 'documents' and aq_parent(folder).portal_type == 'Plone Site':