alias: 'widget.pmgLDAPGroupSelector',
profile: undefined,
-
+
queryMode: 'local',
store: {
- fields: [ 'dn' ],
+ fields: ['dn'],
filterOnLoad: true,
sorters: [
{
- property : 'dn',
- direction: 'ASC'
- }
- ]
+ property: 'dn',
+ direction: 'ASC',
+ },
+ ],
},
valueField: 'dn',
me.store.setProxy({
type: 'proxmox',
- url: '/api2/json/config/ldap/' + me.profile + '/groups'
+ url: '/api2/json/config/ldap/' + me.profile + '/groups',
});
me.store.load();
},
-
+
initComponent: function() {
var me = this;
me.callParent();
if (me.profile !== undefined) {
- me.setProfile(profile, true);
+ me.setProfile(me.profile, true);
}
- }
+ },
});