Commit 6b68323c authored by Florent Guillaume's avatar Florent Guillaume

Fixed #1960. Simplified dumb useless dialog.

parent 448d99bd
...@@ -98,9 +98,7 @@ class SiteRoot(Traverser, Implicit): ...@@ -98,9 +98,7 @@ class SiteRoot(Traverser, Implicit):
self.__init__(title, base, path) self.__init__(title, base, path)
if REQUEST: if REQUEST:
return MessageDialog(title='SiteRoot changed.', return MessageDialog(title='SiteRoot changed.',
message='The title is now "%s"<br>' message='SiteRoot changed.',
'The base is now "%s"<br>'
'The path is now "%s"<br>' % map(escape, (title, base, path)),
action='%s/manage_main' % REQUEST['URL1']) action='%s/manage_main' % REQUEST['URL1'])
def __call__(self, client, request, response=None): def __call__(self, client, request, response=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment