mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-06 03:49:56 +02:00
#392 allow to display deleted entries
This commit is contained in:
parent
04d81f5011
commit
49282b2ee7
2 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@ use function LAM\SCHEMA\get_schema_objectclasses;
|
|||
/*
|
||||
|
||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||
Copyright (C) 2021 - 2024 Roland Gruber
|
||||
Copyright (C) 2021 - 2025 Roland Gruber
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -489,7 +489,7 @@ class TreeView {
|
|||
|
||||
$deleteButton = new htmlImage('../../graphics/delete.svg', $buttonSize, $buttonSize, _('Delete'), _('Delete'));
|
||||
$deleteButton->setOnClick('window.lam.treeview.deleteNode(\'' . getSecurityTokenName() . '\', '
|
||||
. '\'' . getSecurityTokenValue() . '\', \'' . base64_encode($dn) . '\', \'' . htmlspecialchars(extractRDN($dn)) . '\', '
|
||||
. '\'' . getSecurityTokenValue() . '\', \'' . base64_encode($dn) . '\', \'' . base64_encode(htmlspecialchars(extractRDN($dn))) . '\', '
|
||||
. '\'' . _('Delete') . '\', \'' . _('Cancel') . '\', \'' . _('Delete this entry') . '\', \'' . _('Ok') . '\', '
|
||||
. '\'' . _('Error') . '\');');
|
||||
$deleteButton->setCSSClasses($buttonClasses);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
|
||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||
Copyright (C) 2003 - 2024 Roland Gruber
|
||||
Copyright (C) 2003 - 2025 Roland Gruber
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -2475,7 +2475,7 @@ window.lam.treeview.createNodeEnterAttributesStep = function (event, tokenName,
|
|||
*/
|
||||
window.lam.treeview.deleteNode = function (tokenName, tokenValue, dn, text, okText, cancelText, title, errorOkText, errorTitle) {
|
||||
const textSpan = document.querySelector('.treeview-delete-entry');
|
||||
textSpan.innerText = text;
|
||||
textSpan.innerText = window.atob(text);
|
||||
const dialogContent = document.getElementById('treeview_delete_dlg').cloneNode(true);
|
||||
dialogContent.classList.remove('hidden');
|
||||
Swal.fire({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue