]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
parameter and return grid: allow text selection
authorAaron Lauterer <a.lauterer@proxmox.com>
Mon, 2 Jan 2023 09:21:23 +0000 (10:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Jan 2023 16:44:24 +0000 (17:44 +0100)
Making it easier for people to copy & paste parameter and retrun value
names.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
src/api-viewer/APIViewer.js

index 879c9a30457d570c785a56988bc7e7fb36368e0e..d9753b2f41ef9c314929e1bcc0bec7de67eea574 100644 (file)
@@ -241,6 +241,7 @@ Ext.onReady(function() {
                        viewConfig: {
                            trackOver: false,
                            stripeRows: true,
+                           enableTextSelection: true,
                        },
                        columns: [
                            {
@@ -339,6 +340,7 @@ Ext.onReady(function() {
                        viewConfig: {
                            trackOver: false,
                            stripeRows: true,
+                           enableTextSelection: true,
                        },
                        columns: [
                            {