]> git.proxmox.com Git - pmg-gui.git/commitdiff
add regex Tester to regular expression editor
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 16 Oct 2017 12:04:29 +0000 (14:04 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 17 Oct 2017 07:12:26 +0000 (09:12 +0200)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/Utils.js

index 942ccbbf520e256f3bcc22878b6350535b4e743e..73cd336b12b14df924452b32309f3ddd46772295 100644 (file)
@@ -148,7 +148,14 @@ Ext.define('PMG.Utils', {
                    xtype: 'textfield',
                    name: 'regex',
                    labelWidth: 150,
+                   reference: 'regex',
                    fieldLabel: gettext("Regular Expression")
+               },
+               {
+                   labelWidth: 150,
+                   fieldLabel: gettext('Test String'),
+                   xtype: 'pmgRegexTester',
+                   regexFieldReference: 'regex'
                }
            ]
        },