diff options
author | Olivier Lamy <olamy@apache.org> | 2012-12-13 20:04:12 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-12-13 20:04:12 +0000 |
commit | 75bb9b21bb61690c7107feed997b897b978054d9 (patch) | |
tree | 70a33f6baaafbd998d031ae6365f17bd72ef308a /archiva-modules/archiva-web/archiva-webapp-js | |
parent | 9943c1c920e1a9ed2dad5c01ed142e2fb7354248 (diff) | |
download | archiva-75bb9b21bb61690c7107feed997b897b978054d9.tar.gz archiva-75bb9b21bb61690c7107feed997b897b978054d9.zip |
add missing i18n and reuse selector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1421468 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp-js')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js index 3ebe55aa3..596e6f7a6 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js @@ -1272,7 +1272,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" { type: "GET", success: function(data) { - var message=$.i18n.prop('archiva-runtime-configuration.ldap.verified'); + var message=$.i18n.prop('redback.runtime.ldap.verified'); displaySuccessMessage(message); }, error: function(data) { @@ -1299,7 +1299,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" data:ko.toJSON(self.archivaRuntimeConfiguration().ldapConfiguration), dataType: 'json', success: function(data) { - var message=$.i18n.prop('archiva-runtime-configuration.ldap.verified'); + var message=$.i18n.prop('redback.runtime.ldap.verified'); displaySuccessMessage(message); }, error: function(data) { @@ -1349,11 +1349,11 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" saveArchivaRuntimeConfiguration=function(){ $.log("saveArchivaRuntimeConfiguration"); - $("#archiva-runtime-configuration-save" ).button('loading'); + var saveButton = $("#archiva-runtime-configuration-save" ); + saveButton.button('loading'); clearUserMessages(); var userMessages=$("#user-messages"); userMessages.html(mediumSpinnerImg()); - $("#repository-group-save" ).button('loading'); self.archivaRuntimeConfiguration().userManagerImpls=ko.observableArray([]); $.log("length:"+self.usedUserManagerImpls().length); for(var i=0;i<self.usedUserManagerImpls().length;i++){ @@ -1370,7 +1370,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" data:ko.toJSON(self.archivaRuntimeConfiguration), dataType: 'json', success: function(data) { - var message=$.i18n.prop('archiva-runtime-configuration.updated');//,self.archivaRuntimeConfiguration().userManagerImpl()); + var message=$.i18n.prop('archiva-runtime-configuration.updated'); displaySuccessMessage(message); }, error: function(data) { @@ -1379,7 +1379,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" }, complete:function(data){ removeMediumSpinnerImg(userMessages); - $("#archiva-runtime-configuration-save" ).button('reset'); + saveButton.button('reset'); } } ); |