Commit 06334cf8 authored by Ivan Tyagov's avatar Ivan Tyagov

Minor fix.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22655 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6c09505d
......@@ -106,7 +106,7 @@ def getActionTitleForContext(context, portal_type):\n
return edit_title\n
\n
# Append a button to edit the current document\n
if not bool(request.get(\'editable_mode\', 0)):\n
if not bool(request.form.get(\'editable_mode\', 0)):\n
# The title is called Edit only if the document can be edited\n
if portal_type == \'Web Section\' and context.getDefaultDocumentValue() is not None:\n
# try to show link to default page\n
......
682
\ No newline at end of file
683
\ No newline at end of file
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