]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/LDAPConfig.js
dashboard: increase height of node-info and top-receiver panel to 300
[pmg-gui.git] / js / LDAPConfig.js
index 19ec702efb625befdb3e6b894d9b238da38355f9..0a114ff4f50080422f84369925904713230268f0 100644 (file)
@@ -28,6 +28,11 @@ Ext.define('PMG.LDAPInputPanel', {
        values.disable = values.enable ? 0 : 1;
        delete values.enable;
 
+       // do not send empty password
+       if (values.bindpw === '') {
+           delete values.bindpw;
+       }
+
        return values;
     },
 
@@ -103,6 +108,7 @@ Ext.define('PMG.LDAPInputPanel', {
                xtype: 'textfield',
                inputType: 'password',
                allowBlank: true,
+               emptyText: gettext('Unchanged'),
                name: 'bindpw',
                fieldLabel: gettext('Password'),
            },
@@ -512,7 +518,7 @@ Ext.define('PMG.LDAPConfigGrid', {
        model: 'pmg-ldap-config',
        sorters: [{
            property: 'profile',
-           order: 'DESC',
+           direction: 'ASC',
        }],
     },