again
parent
d3c90a15f7
commit
03aed48d5f
|
|
@ -16,7 +16,6 @@
|
|||
.form-container { margin-bottom: 20px; }
|
||||
.jstree-node { position: relative; }
|
||||
.folder-actions { display: none; margin-left: 10px; }
|
||||
.jstree-clicked > .folder-actions { display: inline; } /* Показываем кнопки только для выбранного узла */
|
||||
#search-container { position: absolute; top: 10px; right: 10px; text-align: right; }
|
||||
#search-input { width: 200px; }
|
||||
#installs-list { margin-top: 20px; }
|
||||
|
|
@ -550,9 +549,9 @@
|
|||
$('.folder-actions').hide();
|
||||
// Показываем кнопки только для выбранного узла
|
||||
if (selectedFolderId) {
|
||||
$(`#${selectedFolderId} > .folder-actions`).show();
|
||||
$(`#${selectedFolderId} .folder-actions`).show(); // Используем .folder-actions внутри узла
|
||||
} else {
|
||||
$('#root > .folder-actions').show(); // Показываем для корня, если выбрано
|
||||
$('#root .folder-actions').show(); // Показываем для корня, если выбрано
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue