luci-app-filemanager: Editing hex files improvements
authorDmitry R <rdmitry0911@gmail.com>
Wed, 1 Jan 2025 09:46:12 +0000 (04:46 -0500)
committerPaul Donald <newtwen+github@gmail.com>
Sun, 5 Jan 2025 14:04:29 +0000 (14:04 +0000)
commit9f74f0069a70818c6753b2464e590948f9e852ce
tree7b3fcfc8074939fcd59aa99bcff8121c58c9cc40
parentf001a35ad14e69d26e2e8fdfb6f0c0f6fb00b17a
luci-app-filemanager: Editing hex files improvements
 - Now it uses fs.read_direct() to retrieve the file content
 - Now it opens non-text files in hex Editor by default
 - Now the 'Toggle to ASCII mode' button is disabled in hex Editor if the file is non-text.

Signed-off-by: Dmitry R <rdmitry0911@gmail.com>
applications/luci-app-filemanager/htdocs/luci-static/resources/view/system/filemanager.js