From d2b5071c6a7efac3204eef256261134c95213004 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 23 Nov 2012 16:29:43 +0000 Subject: [PATCH] [MRM-1714] using LDAP can be configurable with the ui move button in loading state. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412944 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/general-admin.js | 4 ++-- .../src/main/webapp/js/templates/archiva/general-admin.html | 2 +- 2 files changed, 3 insertions(+), 3 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 a0c14ee0a..1030f5677 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 @@ -1161,8 +1161,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" saveArchivaRuntimeConfiguration=function(){ $.log("saveArchivaRuntimeConfiguration"); - - + $("#archiva-runtime-configuration-save" ).button('loading'); clearUserMessages(); var userMessages=$("#user-messages"); userMessages.html(mediumSpinnerImg()); @@ -1183,6 +1182,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout" }, complete:function(data){ removeMediumSpinnerImg(userMessages); + $("#archiva-runtime-configuration-save" ).button('reset'); } } ); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html index 918d85617..f1659dd68 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/general-admin.html @@ -908,7 +908,7 @@ data-bind="value: archivaRuntimeConfiguration().userManagerImpl"/> - +