Debug v17

This commit is contained in:
Laurent Destailleur 2022-12-27 12:56:54 +01:00
parent 69a25712f4
commit 5f51dfc55a
4 changed files with 10 additions and 6 deletions

View File

@ -368,7 +368,7 @@ if (!is_array($result) && $result < 0) {
} elseif (count($result) > 0) {
$defval = reset($result)->value;
}
$formactions->form_select_status_action('agenda', $defval, 1, "AGENDA_EVENT_DEFAULT_STATUS", 0, 1, 'maxwidth200');
$formactions->form_select_status_action('agenda', $defval, 1, "AGENDA_EVENT_DEFAULT_STATUS", 0, 1, 'maxwidth200 onrightofpage');
print '</td></tr>'."\n";
// AGENDA_DEFAULT_FILTER_TYPE

View File

@ -142,7 +142,7 @@ class FormActions
$canedit = 0;
}
print ajax_combobox('select'.$htmlname);
print ajax_combobox('select'.$htmlname, array(), 0, 0, 'resolve', '-1', $morecss);
if (empty($onlyselect)) {
print ' <input type="text" id="val'.$htmlname.'" name="percentage" class="flat hideifna" value="'.($selected >= 0 ? $selected : '').'" size="2"'.($canedit && ($selected >= 0) ? '' : ' disabled').'>';

View File

@ -6486,10 +6486,12 @@ ul.select2-results__options li {
.select2-container.select2-container--open .select2-dropdown.ui-dialog {
min-width: 220px !important;
}
.select2-container.select2-container--open .select2-dropdown--below {
.select2-container.select2-container--open .select2-dropdown--below,
.select2-container.select2-container--open .select2-dropdown--above {
min-width: 220px !important;
}
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below {
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above{
min-width: 140px !important;
}

View File

@ -6309,10 +6309,12 @@ ul.select2-results__options li {
.select2-container.select2-container--open .select2-dropdown.ui-dialog {
min-width: 220px !important;
}
.select2-container.select2-container--open .select2-dropdown--below {
.select2-container.select2-container--open .select2-dropdown--below,
.select2-container.select2-container--open .select2-dropdown--above {
min-width: 220px !important;
}
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below {
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
min-width: 140px !important;
}