]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/LDAPUserEditor.js
spam info grid: use monospace font for score and level names
[pmg-gui.git] / js / LDAPUserEditor.js
index f7db13a56f1178288a3b9852b4a637c589b80e94..07b4200bcf2d558e44909047c5728933e13ad156 100644 (file)
@@ -12,7 +12,7 @@ Ext.define('PMG.LDAPUserInputPanel', {
 
        me.callParent([values]);
     },
-    
+
     controller: {
 
        xclass: 'Ext.app.ViewController',
@@ -24,9 +24,9 @@ Ext.define('PMG.LDAPUserInputPanel', {
 
        control: {
            'field[name=profile]': {
-               change: 'changeProfile'
-           }
-       }
+               change: 'changeProfile',
+           },
+       },
     },
 
     items: [
@@ -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' }],
 });