[pve-devel] [PATCH manager] ui: agentipview: make text in grid selectable

Aaron Lauterer a.lauterer at proxmox.com
Thu Mar 21 10:25:32 CET 2024


This makes it possible to select any of the IP addresses listed in the
full view window to copy & paste it.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
Becaue @Folke made a remark that this was a nuisance ;)

 www/manager6/qemu/AgentIPView.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/manager6/qemu/AgentIPView.js b/www/manager6/qemu/AgentIPView.js
index 1411361a..829e5596 100644
--- a/www/manager6/qemu/AgentIPView.js
+++ b/www/manager6/qemu/AgentIPView.js
@@ -12,6 +12,9 @@ Ext.define('PVE.window.IPInfo', {
 	    xtype: 'grid',
 	    store: {},
 	    emptyText: gettext('No network information'),
+	    viewConfig: {
+		enableTextSelection: true,
+	    },
 	    columns: [
 		{
 		    dataIndex: 'name',
-- 
2.39.2





More information about the pve-devel mailing list