]> git.proxmox.com Git - pve-manager-legacy.git/commit
Make the Snapshot selector an optional parameter in the Clone Window
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 12 Jan 2017 09:13:57 +0000 (10:13 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 12 Jan 2017 09:41:36 +0000 (10:41 +0100)
commitd512583fbbdd2989dcb8f99924e63730ecd498b7
tree853a922e59634482e74199a042d344ccaca42daa
parent5e29e8894fd98c848f13ce6570ed18def8a8beae
Make the Snapshot selector an optional parameter in the Clone Window

The snapshot selector was known to confuse first time pve users.
Some wondered that they had no snapshot called 'current' in their
snapshot trees, and other thought that snapshots would be included
in the copied image.

So before displaying the Clone Window, do an API call to verify
if the source VM has snapshots.
www/manager6/qemu/Clone.js
www/manager6/qemu/CmdMenu.js