From a9378a8e9c4029123c18bbc6adaef2109e38699f Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 1 Dec 2025 19:04:50 +0000 Subject: [PATCH] apply gridview volflag on navigation (closes #871); MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit only takes effect if the user has not specifically toggled the gridview using either the hotkey or the 田 button --- copyparty/web/browser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 17c21532..a03c45bb 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -7170,6 +7170,10 @@ var treectl = (function () { if (!sread('dlni')) clmod(ebi('dlni'), 'on', treectl.dlni = dlni); + dgrid = res.dgrid; + if (!sread('griden')) + clmod(ebi('griden'), 'on', thegrid.en = dgrid); + srvinf = res.srvinf; if (rtt !== null) srvinf += (srvinf ? ' // rtt: ' : 'rtt: ') + rtt;