From 99022708d99bde53b29f083bca3cd9d48cc29ffa Mon Sep 17 00:00:00 2001 From: Lucas Carvalho <lucas@nexedi.com> Date: Mon, 11 Apr 2011 19:44:38 +0000 Subject: [PATCH] 2011-04-08 lucas * Fixed expression once the last step of configuration there is no form object. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45301 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../wizard_template_erp5_xhtml_style.xml | 2 +- bt5/erp5_configurator/bt/change_log | 3 +++ bt5/erp5_configurator/bt/revision | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml b/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml index c717235b1f..d2d08b24ce 100644 --- a/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml +++ b/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/wizard_template_erp5_xhtml_style.xml @@ -92,7 +92,7 @@ IDEAS:\n <body>\n <form id="main_form"\n tal:attributes="enctype form/Form_getEnctype | enctype | nothing;\n - action python: (form.action == \'login\' and \'Base_callDialogMethod\') or url;\n + action python: form is not None and (form.action == \'login\' and \'Base_callDialogMethod\') or url;\n method python:str(path(\'form/method | string:post\')).lower()">\n <fieldset id="hidden_fieldset">\n <!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html -->\n diff --git a/bt5/erp5_configurator/bt/change_log b/bt5/erp5_configurator/bt/change_log index 323b84cf39..b4348bccdd 100644 --- a/bt5/erp5_configurator/bt/change_log +++ b/bt5/erp5_configurator/bt/change_log @@ -1,3 +1,6 @@ +2011-04-08 lucas +* Fixed expression once the last step of configuration there is no form object. + 2011-04-08 lucas * The field your_business_configuration has been renamed to fix a bug when the key was invalid, the list of business configuration wasn't being rendered. diff --git a/bt5/erp5_configurator/bt/revision b/bt5/erp5_configurator/bt/revision index 1dd3380cdc..4f95481351 100644 --- a/bt5/erp5_configurator/bt/revision +++ b/bt5/erp5_configurator/bt/revision @@ -1 +1 @@ -516 \ No newline at end of file +517 \ No newline at end of file -- 2.30.9