[pmg-devel] [PATCH pmg-gui 2/2] add onlineHelp anchors to SpamDetectorCustom

Stoiko Ivanov s.ivanov at proxmox.com
Tue Nov 19 13:21:32 CET 2019


Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 js/SpamDetectorCustom.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/js/SpamDetectorCustom.js b/js/SpamDetectorCustom.js
index 34cd95d..46082a6 100644
--- a/js/SpamDetectorCustom.js
+++ b/js/SpamDetectorCustom.js
@@ -82,6 +82,7 @@ Ext.define('PMG.SpamDetectorCustomScores', {
 		taskDone: () => { me.reload(); },
 
 		title: gettext("Apply Custom Scores"),
+		onlineHelp: 'pmgconfig_spamdetector_customscores',
 
 		items: [
 		    {
@@ -109,6 +110,7 @@ Ext.define('PMG.SpamDetectorCustomScores', {
 		url: "/api2/extjs/config/customscores",
 		isCreate: true,
 		subject: gettext("Custom Rule Score"),
+		onlineHelp: 'pmgconfig_spamdetector_customscores',
 		items: [
 		    {
 			xtype: 'proxmoxtextfield',
@@ -153,6 +155,7 @@ Ext.define('PMG.SpamDetectorCustomScores', {
 		url: "/api2/extjs/config/customscores/" + rec.data.name,
 		method: 'PUT',
 		subject: gettext("Custom Rule Score"),
+		onlineHelp: 'pmgconfig_spamdetector_customscores',
 		items: [
 		    {
 			xtype: 'displayfield',
-- 
2.20.1




More information about the pmg-devel mailing list