mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-05 02:39:39 +02:00
refactoring
This commit is contained in:
parent
1f807fa8f8
commit
ec64b20cdd
1 changed files with 2 additions and 2 deletions
|
@ -91,8 +91,8 @@ function showTree(): void {
|
||||||
$openInitialJsArray = '[' . implode(', ', $openInitial) . ']';
|
$openInitialJsArray = '[' . implode(', ', $openInitial) . ']';
|
||||||
$row = new htmlResponsiveRow();
|
$row = new htmlResponsiveRow();
|
||||||
$row->setCSSClasses(['maxrow']);
|
$row->setCSSClasses(['maxrow']);
|
||||||
$row->add(new htmlDiv('ldap_tree', new htmlOutputText(''), ['tree-view--tree']), 12, 5, 5, 'tree-left-area');
|
$row->add(new htmlDiv('ldap_tree', new htmlOutputText(''), ['tree-view--tree']), 12, 4, 4, 'tree-left-area');
|
||||||
$row->add(new htmlDiv('ldap_actionarea', new htmlOutputText(''), ['tree-view--actionarea']), 12, 7, 7, 'tree-right-area');
|
$row->add(new htmlDiv('ldap_actionarea', new htmlOutputText(''), ['tree-view--actionarea']), 12, 8, 8, 'tree-right-area');
|
||||||
$treeScript = new htmlJavaScript('
|
$treeScript = new htmlJavaScript('
|
||||||
window.lam.utility.documentReady(function() {
|
window.lam.utility.documentReady(function() {
|
||||||
var maxHeight = document.documentElement.scrollHeight - (document.querySelector("#ldap_tree").getBoundingClientRect().top - window.scrollY) - 50;
|
var maxHeight = document.documentElement.scrollHeight - (document.querySelector("#ldap_tree").getBoundingClientRect().top - window.scrollY) - 50;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue