From 06334cf8bd20425939ef6169ac10f50eb76d0ba2 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Fri, 25 Jul 2008 09:33:25 +0000 Subject: [PATCH] Minor fix. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22655 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Base_getAdminToolboxEditShortcutList.xml | 2 +- bt5/erp5_web/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Base_getAdminToolboxEditShortcutList.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Base_getAdminToolboxEditShortcutList.xml index e0d3c289c0..80e4e913de 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Base_getAdminToolboxEditShortcutList.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Base_getAdminToolboxEditShortcutList.xml @@ -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 diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 0bd049a963..ce7f605a46 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -682 \ No newline at end of file +683 \ No newline at end of file -- 2.30.9