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:
parent
64e966182c
commit
b6ef57f389
1 changed files with 4 additions and 4 deletions
|
@ -64,15 +64,15 @@ class SchemaView(BaseView):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
if self.isManageMode:
|
|
||||||
# Don't store anything when editing
|
|
||||||
self.request.response.redirect(self.nextUrl())
|
|
||||||
return False
|
|
||||||
newClient = False
|
newClient = False
|
||||||
form = self.request.form
|
form = self.request.form
|
||||||
clientName = self.getClientName()
|
clientName = self.getClientName()
|
||||||
if not form.get('action'):
|
if not form.get('action'):
|
||||||
return True
|
return True
|
||||||
|
if self.isManageMode:
|
||||||
|
# Don't store anything when editing
|
||||||
|
self.request.response.redirect(self.nextUrl())
|
||||||
|
return False
|
||||||
manager = self.context.getManager()
|
manager = self.context.getManager()
|
||||||
if clientName:
|
if clientName:
|
||||||
client = manager.getClients().get(clientName)
|
client = manager.getClients().get(clientName)
|
||||||
|
|
Loading…
Add table
Reference in a new issue