aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/js/common.js
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-07-08 10:55:12 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-07-08 10:55:12 +0200
commit487db6041f9c215e7d6cb93ed1d5b93ebb607ee3 (patch)
treec9302a52902d025c48105a87c9f43d5c2793bf92 /id/ConfigWebTool/src/main/webapp/js/common.js
parent9d07e7a6dcd66c0ebff241e4f0113b787fcbcffb (diff)
parent49daddb4b7296311aa68fc717dfcb35005e16b3e (diff)
downloadmoa-id-spss-487db6041f9c215e7d6cb93ed1d5b93ebb607ee3.tar.gz
moa-id-spss-487db6041f9c215e7d6cb93ed1d5b93ebb607ee3.tar.bz2
moa-id-spss-487db6041f9c215e7d6cb93ed1d5b93ebb607ee3.zip
Merge branch 'moa-2.1-Snapshot' into authnrequest_signrequest_split
Conflicts: id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/stork/STORKResponseProcessor.java id/server/moa-id-commons/src/main/resources/config/moaid_config_2.0.xsd
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/js/common.js')
-rw-r--r--id/ConfigWebTool/src/main/webapp/js/common.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/js/common.js b/id/ConfigWebTool/src/main/webapp/js/common.js
index 32e79bb66..f7ef2c415 100644
--- a/id/ConfigWebTool/src/main/webapp/js/common.js
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -230,6 +230,9 @@ function newPeps() {
var lastindex = 1;
}
var nextindex = lastindex + 1;
+
+ clone.innerHTML = clone.innerHTML.replace(/[A-Z]{2}</, '<');
+ clone.innerHTML = clone.innerHTML.replace(/<input.*type="hidden".*>/, '<div id="wwgrp_loadGeneralConfig_storkconfig_cpepslist_0__countryCode" class="wwgrp"> <div id="wwctrl_loadGeneralConfig_storkconfig_cpepslist_0__countryCode" class="wwctrl"> <input id="loadGeneralConfig_storkconfig_cpepslist_0__countryCode" class="textfield_short" type="text" value="IT" name="storkconfig.cpepslist[0].countryCode"> </div> </div>');
clone.innerHTML = clone.innerHTML.replace(/name="storkconfig.cpepslist\[\d/g, 'name="storkconfig.cpepslist[' + nextindex);
clone.innerHTML = clone.innerHTML.replace(/(.*" value=").*?(".*)/g, '$1$2');
target.parentNode.appendChild(clone);