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 b8fc8b266906cb8ceb9c6ca290ea10ffe697b66f..a377bbad5f575ad18ddcfb5c60cf4506b075d7e3 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
@@ -105,8 +105,10 @@ def getActionTitleForContext(context, portal_type):\n
                                  mapping=dict(portal_type=portal_type))\n
   return edit_title\n
 \n
+editable_mode = int(request.form.get(\'editable_mode\', \n
+                                     request.get(\'editable_mode\', 0)))\n
 # Append a button to edit the current document\n
-if not bool(request.form.get(\'editable_mode\', 0)):\n
+if not editable_mode:\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
@@ -233,7 +235,8 @@ return result\n
                             <string>getattr</string>
                             <string>editable_absolute_url</string>
                             <string>getActionTitleForContext</string>
-                            <string>bool</string>
+                            <string>int</string>
+                            <string>editable_mode</string>
                             <string>None</string>
                             <string>default_document</string>
                             <string>edit_title</string>
diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision
index 8d75cc7df78d5c0d78c264b38938e5138e589cb9..3873f56298e9d65b3d8c800247073b2ddbe22cfc 100644
--- a/bt5/erp5_web/bt/revision
+++ b/bt5/erp5_web/bt/revision
@@ -1 +1 @@
-705
\ No newline at end of file
+706
\ No newline at end of file