]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/LDAPUserEditor.js
attachment grid: show all parts: fix title-casing in label
[pmg-gui.git] / js / LDAPUserEditor.js
index 0ff99cb48ba83f3c296f5640d56c5c4629aee519..07b4200bcf2d558e44909047c5728933e13ad156 100644 (file)
@@ -12,7 +12,7 @@ Ext.define('PMG.LDAPUserInputPanel', {
 
        me.callParent([values]);
     },
-    
+
     controller: {
 
        xclass: 'Ext.app.ViewController',
@@ -24,8 +24,8 @@ Ext.define('PMG.LDAPUserInputPanel', {
 
        control: {
            'field[name=profile]': {
-               change: 'changeProfile'
-           }
+               change: 'changeProfile',
+           },
        },
     },
 
@@ -34,22 +34,23 @@ Ext.define('PMG.LDAPUserInputPanel', {
            xtype: 'pmgLDAPProfileSelector',
            name: 'profile',
            reference: 'profileField',
-           fieldLabel: gettext("Profile")
+           fieldLabel: gettext("Profile"),
        },
        {
            xtype: 'pmgLDAPUserSelector',
            name: 'account',
            reference: 'accountField',
-           fieldLabel: gettext("Account")
-       }
-    ]
+           fieldLabel: gettext("Account"),
+       },
+    ],
 });
 
 Ext.define('PMG.LDAPUserEditor', {
     extend: 'Proxmox.window.Edit',
     alias: 'widget.pmgLDAPUserEditor',
+    onlineHelp: 'pmgconfig_ldap',
 
     width: 500,
 
-    items: { xtype: 'pmgLDAPUserInputPanel' }
+    items: [{ xtype: 'pmgLDAPUserInputPanel' }],
 });