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

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Nov 20 11:46:33 CET 2019


On 11/19/19 1:21 PM, Stoiko Ivanov wrote:
> 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',
> 




More information about the pmg-devel mailing list