From 1801d4eb74e60ce4bcacb5dca5a4a7bd3b7d19df Mon Sep 17 00:00:00 2001 From: serversdown Date: Mon, 15 Jun 2026 18:58:34 +0000 Subject: [PATCH] fix(reports): resolve loadFTPFiles collision breaking Browse Files on the NRL tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ftp_browser.html and slm_live_view.html are both loaded on the per-NRL detail page (Data Files + Command Center tabs) and each defined loadFTPFiles / downloadToServer / downloadFTPFile / enableFTP / formatFileSize as globals — last to load won. 'Browse Files' then called slm_live_view's loadFTPFiles, which renders into the hidden Command Center's #ftp-files-list, so the FTP request fired but nothing appeared. Prefix ftp_browser's five colliding functions with fb* so each partial keeps its own. (Element IDs don't collide: per-unit vs fixed.) Co-Authored-By: Claude Opus 4.8 (1M context) --- templates/partials/projects/ftp_browser.html | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/partials/projects/ftp_browser.html b/templates/partials/projects/ftp_browser.html index 2c8f7a8..5c7373b 100644 --- a/templates/partials/projects/ftp_browser.html +++ b/templates/partials/projects/ftp_browser.html @@ -32,7 +32,7 @@ Settings - -