mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-18 05:18:05 -04:00
Fix permissions checkbox state (#3993)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user