[pve-devel] [PATCH manager] fix #1359: change to vm when double clicking in pool member view

Dominik Csapak d.csapak at proxmox.com
Thu Apr 20 11:18:41 CEST 2017


like in the resource grid

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/grid/PoolMembers.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/manager6/grid/PoolMembers.js b/www/manager6/grid/PoolMembers.js
index ce97b59e..5d020f7b 100644
--- a/www/manager6/grid/PoolMembers.js
+++ b/www/manager6/grid/PoolMembers.js
@@ -240,6 +240,10 @@ Ext.define('PVE.grid.PoolMembers', {
             columns: coldef,
 	    listeners: {
 		itemcontextmenu: PVE.Utils.createCmdMenu,
+		itemdblclick: function(v, record) {
+		    var ws = me.up('pveStdWorkspace');
+		    ws.selectById(record.data.id);
+		},
 		activate: reload
 	    }
 	});
-- 
2.11.0





More information about the pve-devel mailing list