Add files via upload

This commit is contained in:
公明
2026-07-23 19:37:45 +08:00
committed by GitHub
parent a7190b8399
commit 5c13819f66
+1 -5
View File
@@ -4831,11 +4831,7 @@ function showAddWebshellModal() {
if (osSelEl) osSelEl.value = 'auto';
var encSelEl = document.getElementById('webshell-encoding');
if (encSelEl) encSelEl.value = 'auto';
var defaultProjectId = '';
try {
defaultProjectId = typeof getActiveProjectId === 'function' ? (getActiveProjectId() || '') : '';
} catch (e) {}
populateWebshellProjectSelect(defaultProjectId);
populateWebshellProjectSelect('');
document.getElementById('webshell-remark').value = '';
var titleEl = document.getElementById('webshell-modal-title');
if (titleEl) titleEl.textContent = wsT('webshell.addConnection');