From 78495a524453f632bd9295d7463a0d7aeb8fc997 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 30 Oct 2008 09:15:45 +0000 Subject: [PATCH] Make ParallelListField always show default empty ListField at bottom not depending on form's validation status. This change fixes bug #727. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24406 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_core/Base_hashCategoryList.xml | 9 ++++----- product/ERP5/bootstrap/erp5_core/bt/change_log | 3 +++ product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_hashCategoryList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_hashCategoryList.xml index e89d031eae..bd51ba8b3e 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_hashCategoryList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_hashCategoryList.xml @@ -79,11 +79,10 @@ for value in value_list:\n \n request = context.REQUEST\n \n -if request.get(\'field_errors\', {}) == {}:\n - new_dict = default_sub_field_property_dict.copy()\n - new_dict[\'title\'] = \' \'\n - new_dict[\'key\'] = str(z)\n - sub_field_list.append(new_dict)\n +new_dict = default_sub_field_property_dict.copy()\n +new_dict[\'title\'] = \' \'\n +new_dict[\'key\'] = str(z)\n +sub_field_list.append(new_dict)\n \n if len(sub_field_list):\n sub_field_list[0][\'title\'] = default_sub_field_property_dict[\'title\']\n diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log index ff801b818d..4f67af6a45 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/change_log +++ b/product/ERP5/bootstrap/erp5_core/bt/change_log @@ -1,3 +1,6 @@ +2008-10-30 ivan +* make ParallelListField always show default empty ListField at bottom not depending on form's validation status + 2008-10-24 yusei * Cleaned up Base_getTranslatedWorkflowStateItemList and separate generic function to Base_getWorkflowStateItemList. diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 2ba2c94752..028ead5575 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -1007 \ No newline at end of file +1010 \ No newline at end of file -- 2.30.9