Commit b9de5272 authored by Fabien Morin's avatar Fabien Morin

use a button instead of an input. This fix the bug #1179 : [KM] login form...

use a button instead of an input. This fix the bug #1179 : [KM] login form redirect to search result on some safari versions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32763 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9497769
...@@ -478,7 +478,7 @@ body {\n ...@@ -478,7 +478,7 @@ body {\n
\n \n
}\n }\n
\n \n
#fieldset-tiosearch input.input-submit {\n #fieldset-tiosearch button.input-submit {\n
\n \n
border:none;\n border:none;\n
background: url(<dtml-var expr="portal_url()">/tiolive_base_image/input-tiosearch.png) no-repeat transparent;\n background: url(<dtml-var expr="portal_url()">/tiolive_base_image/input-tiosearch.png) no-repeat transparent;\n
...@@ -518,9 +518,9 @@ body {\n ...@@ -518,9 +518,9 @@ body {\n
\n \n
}\n }\n
\n \n
#fieldset-tiosearch input.input-texti:focus {color:#000000}\n #fieldset-tiosearch input.input-text:focus {color:#000000}\n
\n \n
#fieldset-tiosearch input.input-submit {\n #fieldset-tiosearch button.input-submit {\n
\n \n
width: 23px;\n width: 23px;\n
height: 23px;\n height: 23px;\n
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
onfocus string:if (this.value==\'${search_default_text}\') this.value=\'\';"\n onfocus string:if (this.value==\'${search_default_text}\') this.value=\'\';"\n
onfocus="this.value=\'\';"\n onfocus="this.value=\'\';"\n
onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_viewQuickSearchResultList\');" />\n onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_viewQuickSearchResultList\');" />\n
<input type="submit" class="input-submit" value="" alt="Search"\n <button type="submit" class="input-submit" value="" alt="Search"\n
name="ERP5Site_viewQuickSearchResultList:method"/> \n name="ERP5Site_viewQuickSearchResultList:method"/> \n
</fieldset>\n </fieldset>\n
\n \n
......
60 61
\ 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