fallo critico del swich regordete

This commit is contained in:
marcos 2021-07-12 13:06:30 +02:00
parent 922fb81a58
commit 640c81b487
3 changed files with 10 additions and 6 deletions

View File

@ -3965,7 +3965,7 @@ class AgentWizard extends HTML
$class = ''; $class = '';
if ($activeModules === 1) { if ($activeModules === 1) {
$class = 'alpha50'; $class = 'alpha50 pdd_0px';
} }
$table->head[6] = html_print_checkbox_switch_extended( $table->head[6] = html_print_checkbox_switch_extended(
@ -3997,7 +3997,7 @@ class AgentWizard extends HTML
'', '',
true, true,
'', '',
'alpha50' 'alpha50 pdd_0px'
); );
} }
@ -4196,7 +4196,9 @@ class AgentWizard extends HTML
false, false,
'switchBlockControl(event)', 'switchBlockControl(event)',
'', '',
true true,
'',
'pdd_0px'
); );
} else { } else {
// WIP. Current value of this module. // WIP. Current value of this module.
@ -4222,7 +4224,9 @@ class AgentWizard extends HTML
false, false,
'switchBlockControl(event)', 'switchBlockControl(event)',
'form="form-create-modules"', 'form="form-create-modules"',
true true,
'',
'pdd_0px'
); );
} }

View File

@ -3729,7 +3729,7 @@ function html_print_checkbox_switch_extended(
$name.($idcounter[$name] ? $idcounter[$name] : '') $name.($idcounter[$name] ? $idcounter[$name] : '')
); );
$output = '<label class="p-switch '.$classParent.'">'; $output = '<label class="p-switch pdd_0px'.$classParent.'">';
$output .= '<input name="'.$name.'" type="checkbox" value="'.$value.'" '.($checked ? 'checked="checked"' : ''); $output .= '<input name="'.$name.'" type="checkbox" value="'.$value.'" '.($checked ? 'checked="checked"' : '');
if ($id == '') { if ($id == '') {
$output .= ' id="checkbox-'.$id_aux.'"'; $output .= ' id="checkbox-'.$id_aux.'"';

View File

@ -6548,7 +6548,7 @@ div.graph div.legend table {
*/ */
.pdd_0px { .pdd_0px {
padding: 0px; padding: 0px !important;
} }
.pdd_4px { .pdd_4px {
padding: 4px; padding: 4px;