Fix click on label of checkbox busy resource
This commit is contained in:
parent
3ad05c2dde
commit
f78eea2661
1 changed files with 1 additions and 1 deletions
|
|
@ -2613,7 +2613,7 @@ class Form
|
|||
if ($showproperties) {
|
||||
if (is_array($listofresourceid) && count($listofresourceid)) {
|
||||
$out .= '<div class="myavailability inline-block">';
|
||||
$out .= '<span class="hideonsmartphone"> - <span class="opacitymedium">' . $langs->trans("Availability") . ':</span> </span><input id="transparencyresource" class="paddingrightonly" ' . ($action == 'view' ? 'disabled' : '') . ' type="checkbox" name="transparency"' . ($listofresourceid[$value['id']]['transparency'] ? ' checked' : '') . '><label for="transparency">' . $langs->trans("Busy") . '</label>';
|
||||
$out .= '<span class="hideonsmartphone"> - <span class="opacitymedium">' . $langs->trans("Availability") . ':</span> </span><input id="transparencyresource'.$value['id'].'" class="paddingrightonly" ' . ($action == 'view' ? 'disabled' : '') . ' type="checkbox" name="transparency"' . ($listofresourceid[$value['id']]['transparency'] ? ' checked' : '') . '><label for="transparencyresource'.$value['id'].'">' . $langs->trans("Busy") . '</label>';
|
||||
$out .= '</div>';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue