Commit a3feaefb authored by Jérome Perrin's avatar Jérome Perrin

The fieldset for hidden buttons must be "display: None", otherwise an empty fieldset is displayed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15413 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0703095f
...@@ -497,6 +497,9 @@ div.index_html table {\n ...@@ -497,6 +497,9 @@ div.index_html table {\n
display: none;\n display: none;\n
}\n }\n
\n \n
/* The fields set for generated hidden fields */\n
#hidden_fieldset { display: None }\n
\n
/* Main bar */\n /* Main bar */\n
\n \n
#main_bar {\n #main_bar {\n
......
...@@ -127,13 +127,13 @@ IDEAS:\n ...@@ -127,13 +127,13 @@ IDEAS:\n
tal:attributes="enctype form/Form_getEnctype | nothing;\n tal:attributes="enctype form/Form_getEnctype | nothing;\n
action url;\n action url;\n
method python:str(path(\'form/method | string:post\')).lower()">\n method python:str(path(\'form/method | string:post\')).lower()">\n
<!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html -->\n <fieldset id="hidden_fieldset">\n
<!-- We should probably call the default method instead -->\n <!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html -->\n
<fieldset>\n <!-- We should probably call the default method instead -->\n
<input tal:condition="form_action | nothing"\n <input tal:condition="form_action | nothing"\n
id="hidden_button" type="submit" value="dummy"\n id="hidden_button" type="submit" value="dummy"\n
tal:attributes="name string:${form_action}:method" />\n tal:attributes="name string:${form_action}:method" />\n
<tal:block metal:use-macro="global_definitions_macros/http_definitions"/>\n <tal:block metal:use-macro="global_definitions_macros/http_definitions"/>\n
</fieldset>\n </fieldset>\n
<tal:block metal:define-slot="layout">\n <tal:block metal:define-slot="layout">\n
<div id="bars">\n <div id="bars">\n
......
403 404
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment