From 6f24cbc56e6e40ab4aa30a2f0cc15b59becc9d3f Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Thu, 25 Mar 2010 08:05:18 +0000
Subject: [PATCH] Bug fix.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34085 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../listbox_thumbnail.xml                     | 27 -------------------
 bt5/erp5_knowledge_pad/bt/revision            |  2 +-
 2 files changed, 1 insertion(+), 28 deletions(-)

diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewGadgetListDialog/listbox_thumbnail.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewGadgetListDialog/listbox_thumbnail.xml
index 1429f62eb0..96f8a3f489 100644
--- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewGadgetListDialog/listbox_thumbnail.xml
+++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewGadgetListDialog/listbox_thumbnail.xml
@@ -14,7 +14,6 @@
             <value>
               <list>
                 <string>default</string>
-                <string>enabled</string>
                 <string>image_display</string>
               </list>
             </value>
@@ -63,12 +62,6 @@
                       <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
                     </value>
                 </item>
-                <item>
-                    <key> <string>enabled</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string></string> </value>
@@ -96,10 +89,6 @@
                     <key> <string>default</string> </key>
                     <value> <string></string> </value>
                 </item>
-                <item>
-                    <key> <string>enabled</string> </key>
-                    <value> <int>1</int> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_thumbnail</string> </value>
@@ -138,20 +127,4 @@
       </dictionary>
     </pickle>
   </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string>python: getattr(cell, \'getObject\', None) is not None and cell.getObject().getDefaultImageValue() is not None</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
 </ZopeData>
diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision
index 5f5c389834..df2d2b6cee 100644
--- a/bt5/erp5_knowledge_pad/bt/revision
+++ b/bt5/erp5_knowledge_pad/bt/revision
@@ -1 +1 @@
-496
\ No newline at end of file
+497
\ No newline at end of file
-- 
2.30.9