mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 10:31:55 +08:00
luci-app-filemanager: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
+3
-3
@@ -944,7 +944,7 @@ return view.extend({
|
|||||||
E('input', {
|
E('input', {
|
||||||
'type': 'text',
|
'type': 'text',
|
||||||
'id': 'columnWidths-input',
|
'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;'
|
'style': 'width:100%; margin-bottom:10px;'
|
||||||
})
|
})
|
||||||
]),
|
]),
|
||||||
@@ -953,7 +953,7 @@ return view.extend({
|
|||||||
E('input', {
|
E('input', {
|
||||||
'type': 'text',
|
'type': 'text',
|
||||||
'id': 'columnMinWidths-input',
|
'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;'
|
'style': 'width:100%; margin-bottom:10px;'
|
||||||
})
|
})
|
||||||
]),
|
]),
|
||||||
@@ -962,7 +962,7 @@ return view.extend({
|
|||||||
E('input', {
|
E('input', {
|
||||||
'type': 'text',
|
'type': 'text',
|
||||||
'id': 'columnMaxWidths-input',
|
'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;'
|
'style': 'width:100%; margin-bottom:10px;'
|
||||||
})
|
})
|
||||||
]),
|
]),
|
||||||
|
|||||||
Reference in New Issue
Block a user