From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] ui: agentipview: make text in grid selectable
Date: Thu, 21 Mar 2024 10:25:32 +0100 [thread overview]
Message-ID: <20240321092532.904131-1-a.lauterer@proxmox.com> (raw)
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@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
next reply other threads:[~2024-03-21 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-21 9:25 Aaron Lauterer [this message]
2024-03-21 17:01 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240321092532.904131-1-a.lauterer@proxmox.com \
--to=a.lauterer@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox