refactoring

This commit is contained in:
Roland Gruber 2020-05-07 21:15:26 +02:00
parent ffd74d88e4
commit 2db6bf23eb
1 changed files with 0 additions and 8 deletions

View File

@ -4775,14 +4775,6 @@ class htmlResponsiveInputCheckbox extends htmlInputCheckbox {
$tabletColumnsLabel = 10; $tabletColumnsLabel = 10;
$tabletColumnsBox = 2; $tabletColumnsBox = 2;
} }
if ($this->labelAfterCheckbox) {
$tmp = $mobileColumnsLabel;
$mobileColumnsLabel = $mobileColumnsLabel;
$mobileColumnsBox = $mobileColumnsLabel;
$tmp = $tabletColumnsLabel;
$tabletColumnsLabel = $tabletColumnsBox;
$tabletColumnsBox = $tabletColumnsLabel;
}
// label text // label text
$text = new htmlSpan(new htmlOutputText($this->label)); $text = new htmlSpan(new htmlOutputText($this->label));
$text->setOnclick('jQuery(\'#' . $this->name . '\').prop(\'checked\',!jQuery(\'#' . $this->name . '\').prop(\'checked\')); jQuery(\'#' . $this->name . '\').change();'); $text->setOnclick('jQuery(\'#' . $this->name . '\').prop(\'checked\',!jQuery(\'#' . $this->name . '\').prop(\'checked\')); jQuery(\'#' . $this->name . '\').change();');