]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/RuleEditor.js
mail filter: properly html-encode rule names
[pmg-gui.git] / js / RuleEditor.js
index cf48d9ae191032cadc06de17f3ed65002e9ca471..889b628007b71ace834c001533b1bce5363d245d 100644 (file)
@@ -1,6 +1,7 @@
 Ext.define('PMG.RuleEditor', {
     extend: 'Proxmox.window.Edit',
     xtype: 'ruleeditwindow',
+    onlineHelp: 'chapter_mailfilter',
 
     url: undefined,
 
@@ -15,7 +16,7 @@ Ext.define('PMG.RuleEditor', {
            xtype: 'textfield',
            name: 'name',
            allowBlank: false,
-           fieldLabel: gettext('Name')
+           fieldLabel: gettext('Name'),
        },
        {
            xtype: 'proxmoxintegerfield',
@@ -23,7 +24,7 @@ Ext.define('PMG.RuleEditor', {
            allowBlank: false,
            minValue: 0,
            maxValue: 100,
-           fieldLabel: gettext('Priority')
+           fieldLabel: gettext('Priority'),
        },
        {
            xtype: 'proxmoxKVComboBox',
@@ -33,7 +34,7 @@ Ext.define('PMG.RuleEditor', {
                [1, PMG.Utils.rule_direction_text[1]],
                [2, PMG.Utils.rule_direction_text[2]]],
            value: 2,
-           fieldLabel: gettext('Direction')
+           fieldLabel: gettext('Direction'),
        },
        {
            xtype: 'proxmoxcheckbox',
@@ -41,7 +42,7 @@ Ext.define('PMG.RuleEditor', {
            defaultValue: 0,
            uncheckedValue: 0,
            checked: false,
-           fieldLabel: gettext('Active')
-       }
-    ]
+           fieldLabel: gettext('Active'),
+       },
+    ],
 });