Merge branch 'bugfix/zip-upload' into 'dev'

Fix upload root files being hidden

See merge request crafty-controller/crafty-4!590
This commit is contained in:
Iain Powrie 2023-05-29 20:34:16 +00:00
commit 69eff7ffe8
2 changed files with 5 additions and 3 deletions

View File

@ -3,9 +3,10 @@
### New features
TBD
### Bug fixes
TBD
### Tweaks
- Fix upload root files being hidden ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/590))
- Send empty json for no banned/cached players ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/589))
### Tweaks
TBD
### Lang
TBD
<br><br>

View File

@ -553,6 +553,7 @@
<div class="form-group">
<input type="text" class="form-control" id="zip_root_path" name="zip_root_path">
</div>
</div>
<div class="modal fade" id="dir_upload_select" tabindex="-1" role="dialog" aria-labelledby="dir_select" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
@ -596,7 +597,6 @@
</div>
</div>
</div>
</div>
<style>
button>i.refresh-class {
margin: 0px;
@ -949,6 +949,7 @@
function show_file_tree() {
if (upload) {
console.log("upload true")
$("#dir_upload_select").modal();
} else {
$("#dir_select").modal();