]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
ui: set file name for spice console download in chrome
authorLorenz Stechauner <l.stechauner@proxmox.com>
Thu, 22 Apr 2021 07:49:02 +0000 (09:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Apr 2021 13:25:25 +0000 (15:25 +0200)
commit63c2296675a362f1f8f83ff1cf55ace2b752b3d6
tree03eb37a795eed135d66628c26cc6764e8a3f3510
parentc95917c263225c867608c8bbaa7f0b7ac84a995f
ui: set file name for spice console download in chrome

When the virt-viewer file is downloaded we already set a file name in
Android, so the file type may be recognized. Also doing this in
Chrome (and Chromium based browsers) allows users to "alyways open
files of this type". So the browser automatically opens the console
window without user interaction.

Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/Utils.js