]> git.proxmox.com Git - pmg-gui.git/commitdiff
make who regex tests anchored
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 22 Feb 2019 13:31:33 +0000 (14:31 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 25 Feb 2019 05:15:43 +0000 (06:15 +0100)
they are in the rule system, so let the users test it correctly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/Utils.js

index b85c64dd3a2686fba628fe63ca1e5071b38d1cde..ce15d06ebbe0d9a1443cb4a1e8fa12c73e399e18 100644 (file)
@@ -144,6 +144,7 @@ Ext.define('PMG.Utils', {
                    labelWidth: 150,
                    fieldLabel: gettext('Test String'),
                    xtype: 'pmgRegexTester',
                    labelWidth: 150,
                    fieldLabel: gettext('Test String'),
                    xtype: 'pmgRegexTester',
+                   wholeMatch: true,
                    regexFieldReference: 'regex'
                }
            ]
                    regexFieldReference: 'regex'
                }
            ]