mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix 'server_id' not defined bug in download file
This commit is contained in:
parent
abdefc3e43
commit
7302737005
@ -849,7 +849,7 @@
|
||||
function downloadFileE(event) {
|
||||
path = event.target.parentElement.getAttribute('data-path');
|
||||
name = event.target.parentElement.getAttribute('data-name');
|
||||
window.location.href = `/panel/download_file?id=${server_id}&path=${path}&name=${name}`;
|
||||
window.location.href = `/panel/download_file?id=${serverId}&path=${path}&name=${name}`;
|
||||
}
|
||||
|
||||
function renameItemE(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user