Fix 'server_id' not defined bug in download file

This commit is contained in:
amcmanu3 2022-03-07 21:48:37 -05:00
parent abdefc3e43
commit 7302737005

View File

@ -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) {