@@ -23,6 +23,7 @@ OCA = OCA || {}; | |||
'ldap_loginfilter_attributes' | |||
]); | |||
this.setTargetKey('ldap_login_filter'); | |||
this.runsOnRequest = true; | |||
this.wizardMethod = 'getUserLoginFilter'; | |||
} |
@@ -22,6 +22,7 @@ OCA = OCA || {}; | |||
'ldap_userfilter_objectclass' | |||
]); | |||
this.setTargetKey('ldap_userlist_filter'); | |||
this.runsOnRequest = true; | |||
this.wizardMethod = 'getUserListFilter'; | |||
} |
@@ -294,6 +294,11 @@ OCA = OCA || {}; | |||
onFeatureReceived: function(view, payload) { | |||
if(payload.feature === view.getObjectClassItem().featureName) { | |||
view.equipMultiSelect(view.getObjectClassItem().$element, payload.data); | |||
if( !view.getFilterItem().$element.val() | |||
&& view.parsedFilterMode === view.configModel.FILTER_MODE_ASSISTED | |||
) { | |||
view.configModel.requestWizard(view.getFilterItem().keyName) | |||
} | |||
} else if (payload.feature === view.getGroupsItem().featureName) { | |||
if(view.manyGroupsSupport && payload.data.length > view._groupElementSwitchThreshold) { | |||
// we need to fill the left list box, excluding the values |
@@ -185,6 +185,9 @@ OCA = OCA || {}; | |||
*/ | |||
onActivate: function() { | |||
this.considerFeatureRequests(); | |||
if(!this.managedItems.ldap_login_filter.$element.val()) { | |||
this.configModel.requestWizard('ldap_login_filter'); | |||
} | |||
}, | |||
/** |