Skip to content
Commit 4b771b3d authored by Sergey Ponomarev's avatar Sergey Ponomarev
Browse files

luci-base: ui.js FileUpload: option to enable Download button



Allow downloading from a file browser.
The Download button is located near to Delete.
It's shown only for files: folders or /dev/ devices can't be downloaded.
The downloading is made via fs.read_direct() which internally calls cgi-download.

Signed-off-by: default avatarSergey Ponomarev <stokito@gmail.com>
parent 5d2d5280
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment