From 205eb523943cedc187e9be9d44fba957e81636df Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Fri, 27 May 2011 09:38:41 +0300
Subject: [PATCH] isDocument is a method not property.

---
 .../WebSection_viewToolbarWidget.xml                       | 7 ++++---
 bt5/erp5_web/bt/revision                                   | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml
index 0380456491..2d7209dbc8 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml
@@ -160,8 +160,9 @@
        XXX - This is not so good to create new content in a section\n
              Behaviour should be to create content in section / site\n
   -->\n
-  <li class="toolboxSection" id="clone-document-toolbox"\n
-       tal:condition="python:here.isDocument">\n
+  <li class="toolboxSection" \n
+      id="clone-document-toolbox"\n
+      tal:condition="python:here.isDocument()">\n
     <h3 class="menu_title">\n
       <span id="create_new_document_title"></span>\n
       <span id="clone_document_title">\n
@@ -322,7 +323,7 @@
         </item>
         <item>
             <key> <string>output_encoding</string> </key>
-            <value> <string>utf-8</string> </value>
+            <value> <string>iso-8859-15</string> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision
index ee530325f3..4242f7fac9 100644
--- a/bt5/erp5_web/bt/revision
+++ b/bt5/erp5_web/bt/revision
@@ -1 +1 @@
-1052
\ No newline at end of file
+1053
\ No newline at end of file
-- 
2.30.9