archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1428875 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js
Date Fri, 04 Jan 2013 14:20:46 GMT
Author: olamy
Date: Fri Jan  4 14:20:45 2013
New Revision: 1428875

URL: http://svn.apache.org/viewvc?rev=1428875&view=rev
Log:
fix ldap host configuration

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js?rev=1428875&r1=1428874&r2=1428875&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js
Fri Jan  4 14:20:45 2013
@@ -1584,8 +1584,6 @@ define("archiva.general-admin",["jquery"
     var validator = formSelector.validate({
       rules: {
         ldapHost : {
-          digits: true,
-          min: 1,
           required: true
         },
         ldapPort : {
@@ -1615,9 +1613,9 @@ define("archiva.general-admin",["jquery"
         dataType: 'json',
         success: function(data) {
           // TODO use window.redbackRuntimeConfiguration ?
-          window.redbackRuntimeConfiguration = mapRedbackRuntimeConfiguration(data);
+          var redbackRuntimeConfiguration = mapRedbackRuntimeConfiguration(data);
           var redbackRuntimeConfigurationViewModel =
-              new RedbackRuntimeConfigurationViewModel(window.redbackRuntimeConfiguration,userManagerImplementationInformations);
+              new RedbackRuntimeConfigurationViewModel(redbackRuntimeConfiguration,userManagerImplementationInformations);
           mainContent.html( $("#redback-runtime-configuration-main" ).tmpl() );
           ko.applyBindings(redbackRuntimeConfigurationViewModel,$("#redback-runtime-configuration-content"
).get(0));
           activateRedbackRuntimeGeneralFormValidation();



Mime
View raw message