fixme: add a new icon

Signed-off-by: Alexandre Derumier <[email protected]>
---
 www/manager/qemu/CmdMenu.js |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/www/manager/qemu/CmdMenu.js b/www/manager/qemu/CmdMenu.js
index c61d1c0..f80922b 100644
--- a/www/manager/qemu/CmdMenu.js
+++ b/www/manager/qemu/CmdMenu.js
@@ -78,6 +78,18 @@ Ext.define('PVE.qemu.CmdMenu', {
                }
            },
            {
+               text: gettext('Clone To VM'),
+               icon: '/pve2/images/forward.png',
+               handler: function() {
+                   var win = Ext.create('PVE.window.Clone', {
+                       snapname: 'current',
+                       nodename: nodename,
+                       vmid: vmid,
+                   });
+                   win.show();
+               }
+           },
+           {
                text: gettext('Console'),
                icon: '/pve2/images/display.png',
                handler: function() {
-- 
1.7.10.4

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to