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
display: none;\n
}\n
\n
/* The fields set for generated hidden fields */\n
#hidden_fieldset { display: None }\n
\n
/* Main bar */\n
\n
#main_bar {\n
......
......@@ -127,9 +127,9 @@ IDEAS:\n
tal:attributes="enctype form/Form_getEnctype | nothing;\n
action 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
<!-- We should probably call the default method instead -->\n
<fieldset>\n
<input tal:condition="form_action | nothing"\n
id="hidden_button" type="submit" value="dummy"\n
tal:attributes="name string:${form_action}:method" />\n
......
403
\ No newline at end of file
404
\ 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