From 177cf48dca7760d111af61ceec586768c06aed63 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Fri, 22 May 2026 14:01:41 +0300 Subject: [PATCH] luci-app-filemanager: correctness fixes Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/view/system/filemanager.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager.js b/applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager.js index ef9576df03..b9e4d6f169 100644 --- a/applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager.js +++ b/applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager.js @@ -944,7 +944,7 @@ return view.extend({ E('input', { 'type': 'text', 'id': 'columnWidths-input', - 'value': Object.values(config.columnWidths).join(''), + 'value': Object.entries(config.columnWidths).map(([k,v]) => k+':'+v).join(','), 'style': 'width:100%; margin-bottom:10px;' }) ]), @@ -953,7 +953,7 @@ return view.extend({ E('input', { 'type': 'text', 'id': 'columnMinWidths-input', - 'value': Object.values(config.columnMinWidths).join(''), + 'value': Object.entries(config.columnMinWidths).map(([k,v]) => k+':'+v).join(','), 'style': 'width:100%; margin-bottom:10px;' }) ]), @@ -962,7 +962,7 @@ return view.extend({ E('input', { 'type': 'text', 'id': 'columnMaxWidths-input', - 'value': Object.values(config.columnMaxWidths).join(''), + 'value': Object.entries(config.columnMaxWidths).map(([k,v]) => k+':'+v).join(','), 'style': 'width:100%; margin-bottom:10px;' }) ]),