bug fix for wysiwyg schema editor

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2009 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-09-06 16:28:33 +00:00
parent 64e966182c
commit b6ef57f389

View file

@ -64,15 +64,15 @@ class SchemaView(BaseView):
return data
def update(self):
if self.isManageMode:
# Don't store anything when editing
self.request.response.redirect(self.nextUrl())
return False
newClient = False
form = self.request.form
clientName = self.getClientName()
if not form.get('action'):
return True
if self.isManageMode:
# Don't store anything when editing
self.request.response.redirect(self.nextUrl())
return False
manager = self.context.getManager()
if clientName:
client = manager.getClients().get(clientName)