Fix: force jquery cal if MAIN_POPUP_CALENDAR=eldy (showDP commented)
This commit is contained in:
parent
725e57b73e
commit
00db16e0de
@ -4742,7 +4742,9 @@ class Form
|
|||||||
|
|
||||||
// You can set MAIN_POPUP_CALENDAR to 'eldy' or 'jquery'
|
// You can set MAIN_POPUP_CALENDAR to 'eldy' or 'jquery'
|
||||||
$usecalendar='combo';
|
$usecalendar='combo';
|
||||||
if (! empty($conf->use_javascript_ajax) && (empty($conf->global->MAIN_POPUP_CALENDAR) || $conf->global->MAIN_POPUP_CALENDAR != "none")) $usecalendar=empty($conf->global->MAIN_POPUP_CALENDAR)?'jquery':$conf->global->MAIN_POPUP_CALENDAR;
|
if (! empty($conf->use_javascript_ajax) && (empty($conf->global->MAIN_POPUP_CALENDAR) || $conf->global->MAIN_POPUP_CALENDAR != "none")) {
|
||||||
|
$usecalendar = ((empty($conf->global->MAIN_POPUP_CALENDAR) || $conf->global->MAIN_POPUP_CALENDAR == 'eldy')?'jquery':$conf->global->MAIN_POPUP_CALENDAR);
|
||||||
|
}
|
||||||
//if (! empty($conf->browser->phone)) $usecalendar='combo';
|
//if (! empty($conf->browser->phone)) $usecalendar='combo';
|
||||||
|
|
||||||
if ($d)
|
if ($d)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user