with link to the LDAP Syncing section of the documentation

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 www/manager6/dc/SyncWindow.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/www/manager6/dc/SyncWindow.js b/www/manager6/dc/SyncWindow.js
index e85e5b88..9355c551 100644
--- a/www/manager6/dc/SyncWindow.js
+++ b/www/manager6/dc/SyncWindow.js
@@ -21,6 +21,7 @@ Ext.define('PVE.dc.SyncWindow', {
            },
            'button': {
                click: function(btn) {
+                   if (btn.reference === 'help_btn') return;
                    this.sync_realm(btn.reference === 'preview_btn');
                },
            },
@@ -144,6 +145,13 @@ Ext.define('PVE.dc.SyncWindow', {
     ],
 
     buttons: [
+       {
+           xtype: 'proxmoxHelpButton',
+           reference: 'help_btn',
+           onlineHelp: 'pveum_ldap_sync',
+           hidden: false,
+       },
+       '->',
        {
            text: gettext('Preview'),
            reference: 'preview_btn',
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to