Fix permissions checkbox state (#3993)

This commit is contained in:
jekkos
2024-05-11 17:54:10 +02:00
committed by jekkos
parent 9fe578504c
commit f81dfe1b0b
2 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@
{
?>
<li>
<?= form_checkbox("grant_$module->module_id", $module->module_id, $module->grant == 1, "class=\'module\'") ?>
<?= form_checkbox("grant_$module->module_id", $module->module_id, $module->grant == 1, "class='module'") ?>
<?= form_dropdown(
"menu_group_$module->module_id", [
'home' => lang('Module.home'),
@@ -126,7 +126,7 @@
'both' => lang('Module.both')
],
$module->menu_group,
"class=\'module\'"
"class='module'"
) ?>
<span class="medium"><?= lang("Module.$module->module_id") ?>:</span>

View File

@@ -73,7 +73,7 @@ function printdoc()
if($print_after_sale)
{
?>
$(window).load(function()
$(window).on('load', (function()
{
// executes when complete page is fully loaded, including all frames, objects and images
printdoc();