aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp-js
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-13 20:04:29 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-13 20:04:29 +0000
commit054931df031785983b2cf796e392973d29e0b992 (patch)
tree08e0ffce904a783b703e42393f461489257d9ee8 /archiva-modules/archiva-web/archiva-webapp-js
parent75bb9b21bb61690c7107feed997b897b978054d9 (diff)
downloadarchiva-054931df031785983b2cf796e392973d29e0b992.tar.gz
archiva-054931df031785983b2cf796e392973d29e0b992.zip
move button to loading state when calling server
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1421470 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.js8
1 files changed, 6 insertions, 2 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 596e6f7a6..a285b5bfa 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
@@ -1265,6 +1265,8 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
checkLdapServerConfiguration=function(){
$.log("checkLdapServerConfiguration");
clearUserMessages();
+ var btn = $("#ldap-configuration-check-server");
+ btn.button('loading');
var userMessages=$("#user-messages");
userMessages.html(mediumSpinnerImg());
$.log("checkChangedLdapConfiguration");
@@ -1281,7 +1283,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
},
complete:function(data){
removeMediumSpinnerImg(userMessages);
- //$("#archiva-runtime-configuration-save" ).button('reset');
+ btn.button('reset');
}
}
);
@@ -1289,6 +1291,8 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
checkChangedLdapConfiguration=function(){
clearUserMessages();
+ var btn = $("#ldap-configuration-check-modification");
+ btn.button('loading');
var userMessages=$("#user-messages");
userMessages.html(mediumSpinnerImg());
$.log("checkChangedLdapConfiguration");
@@ -1308,7 +1312,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
},
complete:function(data){
removeMediumSpinnerImg(userMessages);
- //$("#archiva-runtime-configuration-save" ).button('reset');
+ btn.button('reset');
}
}
);