mirror of https://github.com/apache/archiva.git
fix ldap host configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1428875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac9f4ac10c
commit
f42e8368e7
|
@ -1584,8 +1584,6 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
|
||||||
var validator = formSelector.validate({
|
var validator = formSelector.validate({
|
||||||
rules: {
|
rules: {
|
||||||
ldapHost : {
|
ldapHost : {
|
||||||
digits: true,
|
|
||||||
min: 1,
|
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
ldapPort : {
|
ldapPort : {
|
||||||
|
@ -1615,9 +1613,9 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
// TODO use window.redbackRuntimeConfiguration ?
|
// TODO use window.redbackRuntimeConfiguration ?
|
||||||
window.redbackRuntimeConfiguration = mapRedbackRuntimeConfiguration(data);
|
var redbackRuntimeConfiguration = mapRedbackRuntimeConfiguration(data);
|
||||||
var redbackRuntimeConfigurationViewModel =
|
var redbackRuntimeConfigurationViewModel =
|
||||||
new RedbackRuntimeConfigurationViewModel(window.redbackRuntimeConfiguration,userManagerImplementationInformations);
|
new RedbackRuntimeConfigurationViewModel(redbackRuntimeConfiguration,userManagerImplementationInformations);
|
||||||
mainContent.html( $("#redback-runtime-configuration-main" ).tmpl() );
|
mainContent.html( $("#redback-runtime-configuration-main" ).tmpl() );
|
||||||
ko.applyBindings(redbackRuntimeConfigurationViewModel,$("#redback-runtime-configuration-content" ).get(0));
|
ko.applyBindings(redbackRuntimeConfigurationViewModel,$("#redback-runtime-configuration-content" ).get(0));
|
||||||
activateRedbackRuntimeGeneralFormValidation();
|
activateRedbackRuntimeGeneralFormValidation();
|
||||||
|
|
Loading…
Reference in New Issue