aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/js
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-10-21 10:13:42 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-11-03 10:45:37 +0100
commit0b513625b19ba63e5c23b60fbb505cd4a7c232ab (patch)
tree3d0b305cc976f745f3e6da5c79de943d2e4fa9c3 /id/ConfigWebTool/src/main/webapp/js
parent3ca1a273b2ebc279ec3ad94d9ed38d0b39477679 (diff)
downloadmoa-id-spss-0b513625b19ba63e5c23b60fbb505cd4a7c232ab.tar.gz
moa-id-spss-0b513625b19ba63e5c23b60fbb505cd4a7c232ab.tar.bz2
moa-id-spss-0b513625b19ba63e5c23b60fbb505cd4a7c232ab.zip
update ConfigTool to support more than one ELGA mandate-service
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/js')
-rw-r--r--id/ConfigWebTool/src/main/webapp/js/common.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/js/common.js b/id/ConfigWebTool/src/main/webapp/js/common.js
index f17ee3623..3d5528ad5 100644
--- a/id/ConfigWebTool/src/main/webapp/js/common.js
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -292,5 +292,15 @@ function setPublicURLPrefixTestBox(checkbox) {
function generalConfigLoadEvent() {
var value = $("#loadGeneralConfig_moaconfig_publicURLPrefix").val();
$("#loadGeneralConfig_moaconfig_publicURLPrefix").val(value.replace(/,/g,",\n"));
+
+ var elga = $("#loadGeneralConfig_moaconfig_elgaMandateServiceURL").val();
+ $("#loadGeneralConfig_moaconfig_elgaMandateServiceURL").val(elga.replace(/,/g,",\n"));
+
+ var mis = $("#loadGeneralConfig_moaconfig_mandateURL").val();
+ $("#loadGeneralConfig_moaconfig_mandateURL").val(mis.replace(/,/g,",\n"));
+
+ var szrgw = $("#loadGeneralConfig_moaconfig_szrgwURL").val();
+ $("#loadGeneralConfig_moaconfig_szrgwURL").val(szrgw.replace(/,/g,",\n"));
+
return true;
}