From 5b429588341eaa9c68a266556a8b4a7f1c5b9b87 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Wed, 16 Jun 2010 13:50:52 +0000
Subject: [PATCH] Listbox date format field is not editable even if
 editable_mode=True

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36398 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../listbox_field_date.xml                         | 14 ++++++++++----
 bt5/erp5_web/bt/revision                           |  2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_date.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_date.xml
index 75efa1f762..2d71872335 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_date.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_date.xml
@@ -272,7 +272,9 @@
                 </item>
                 <item>
                     <key> <string>default</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <none/>
+                    </value>
                 </item>
                 <item>
                     <key> <string>default_now</string> </key>
@@ -284,7 +286,7 @@
                 </item>
                 <item>
                     <key> <string>editable</string> </key>
-                    <value> <int>1</int> </value>
+                    <value> <int>0</int> </value>
                 </item>
                 <item>
                     <key> <string>enabled</string> </key>
@@ -292,7 +294,9 @@
                 </item>
                 <item>
                     <key> <string>end_datetime</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <none/>
+                    </value>
                 </item>
                 <item>
                     <key> <string>external_validator</string> </key>
@@ -324,7 +328,9 @@
                 </item>
                 <item>
                     <key> <string>start_datetime</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <none/>
+                    </value>
                 </item>
                 <item>
                     <key> <string>time_separator</string> </key>
diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision
index 20d91f52a5..7179a19790 100644
--- a/bt5/erp5_web/bt/revision
+++ b/bt5/erp5_web/bt/revision
@@ -1 +1 @@
-963
\ No newline at end of file
+964
\ No newline at end of file
-- 
2.30.9