mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Make files tree show up on page load
This commit is contained in:
parent
6c262d20d7
commit
e53da60b4f
@ -139,7 +139,7 @@
|
||||
<i class="far fa-folder-open"></i>
|
||||
{{ translate('serverFiles', 'files', data['lang']) }}
|
||||
</div>
|
||||
<ul class="tree-nested" id="files-tree">
|
||||
<ul class="tree-nested d-block" id="files-tree">
|
||||
<li>{{ translate('serverFiles', 'error', data['lang']) }}</li>
|
||||
|
||||
</ul>
|
||||
@ -898,6 +898,8 @@
|
||||
target.classList.add('btn-primary');
|
||||
}
|
||||
|
||||
window.onload = getTreeView();
|
||||
|
||||
</script>
|
||||
|
||||
{% end %}
|
Loading…
Reference in New Issue
Block a user