Skip to content

Commit

Permalink
Merge branch 'craigk5n:master' into xact
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannon authored Jul 31, 2024
2 parents f413c8f + b5a678e commit ceaffae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function edit_group(id) {
$('#editName').prop("value", group['name']);
for (var i = 0; i < cnt; i++) {
console.log('Selected user: ' + selectedUsers[i]);
$('#editUsers option[value=' + selectedUsers[i] + ']').attr('selected',true).change();
$('#editUsers option[value="' + selectedUsers[i] + '"]').attr('selected',true).change();
}

}
Expand Down
2 changes: 2 additions & 0 deletions user_mgmt.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,12 @@
<label class="col-5 for=" editEnabled"><?php etranslate('Enabled') ?>: </label>
<?php echo print_radio('editEnabled'); ?>
</div>
<?php if ($is_admin) { ?>
<div class="form-inline mt-1 mb-2" id="div-editIsAdmin">
<label class="col-5 for=" editIsAdmin"><?php etranslate('Admin') ?>: </label>
<?php echo print_radio('editIsAdmin'); ?>
</div>
<?php } ?>

<div class="modal-footer">
<button class="btn btn-secondary" data-dismiss="modal"
Expand Down

0 comments on commit ceaffae

Please sign in to comment.