diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 1d11f8848ca..502cb9d920e 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -5747,7 +5747,7 @@ class Form
if (empty($conf->global->MAIN_POPUP_CALENDAR_ON_FOCUS))
{
$retstring .= "
- showOn: 'both',
+ showOn: 'button', /* both has problem with autocompletion */
buttonImage: '".DOL_URL_ROOT."/theme/".$conf->theme."/img/object_calendarday.png',
buttonImageOnly: true";
}
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 0a1dfdac2e9..c6e7e726bc7 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -4372,7 +4372,7 @@ div.ui-tooltip.mytooltip {
/* Calendar */
/* ============================================================================== */
-div.divfordateinput img.ui-datepicker-trigger {
+/*div.divfordateinput img.ui-datepicker-trigger {
float: left;
display: inline-block;
vertical-align: middle;
@@ -4380,7 +4380,7 @@ div.divfordateinput img.ui-datepicker-trigger {
}
.hasDatepicker {
padding-bottom: 6px;
-}
+}*/
.ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
.ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,