diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml index 511b15d397f6f797cafe70b4bfcf475e5e18a5dd..940d434ddd1de11afb7550943f30d8712c9b5a97 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml @@ -55,7 +55,7 @@ xmlns:metal="http://xml.zope.org/namespaces/metal"\n xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n <tal:block metal:define-macro="master">\n - <tal:block tal:define="form_action string:Base_callDialogMethod;\n + <tal:block tal:define="form_action python: form.update_action or \'Base_callDialogMethod\';\n dialog_id form/id | template/id;\n form_id request/form_id | string:view;\n dialog_method form/action | dialog_id;\n @@ -78,10 +78,9 @@ tal:condition="python: form.update_action!=\'\'"\n id="dialog_update_button"\n name="Base_showUpdateDialog:method" type="submit" />\n - <input tal:attributes="value python: here.Base_getFormViewDialogActionButtonTitle(form);\n - name string:${form_action}:method"\n + <input tal:attributes="value python: here.Base_getFormViewDialogActionButtonTitle(form);"\n i18n:attributes="value" i18n:domain="ui" accesskey="V"\n - id="dialog_submit_button" type="submit" />\n + id="dialog_submit_button" type="submit" name="Base_callDialogMethod:method" />\n </tal:block>\n </tal:block>\n </tal:block>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 9d3f41701a871134f2381d2782da8d0ba0d63bbf..ee2b8364542e6512c6ff1d906cfa3787731f3ec2 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -455 \ No newline at end of file +456 \ No newline at end of file