aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/js
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-05 19:28:25 +0100
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-03-05 19:28:25 +0100
commit58c8a91c173ce699b8014e4f81fa195bfa37d246 (patch)
treeb00ddaa46912d78739050f1ad0ed4e084c2b4a17 /id/ConfigWebTool/src/main/webapp/js
parent683209b2aabf589e1e22ed9cb7c69d6e76442bb0 (diff)
downloadmoa-id-spss-58c8a91c173ce699b8014e4f81fa195bfa37d246.tar.gz
moa-id-spss-58c8a91c173ce699b8014e4f81fa195bfa37d246.tar.bz2
moa-id-spss-58c8a91c173ce699b8014e4f81fa195bfa37d246.zip
land selection change
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/js')
-rw-r--r--id/ConfigWebTool/src/main/webapp/js/common.js25
1 files changed, 21 insertions, 4 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/js/common.js b/id/ConfigWebTool/src/main/webapp/js/common.js
index 5fbbdafd1..7e42eaf30 100644
--- a/id/ConfigWebTool/src/main/webapp/js/common.js
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -22,17 +22,33 @@
*******************************************************************************/
function oaBusinessService() {
if ($('#OAisbusinessservice').attr('checked') == 'checked') {
-
- $('#oa_config_businessservice').css('display', "block");
+ $('#OAisstorkservice').attr('checked',false);
+ $('#oa_config_storkservice').css('display', "none");
+ $('#oa_config_businessservice').css('display', "block");
$('#oa_config_publicservice').css('display', "none");
} else {
-
- $('#oa_config_businessservice').css('display', "none");
+ $('#oa_config_storkservice').css('display', "none");
+ $('#oa_config_businessservice').css('display', "none");
$('#oa_config_publicservice').css('display', "block");
}
}
+function oaStorkService() {
+ if ($('#OAisstorkservice').attr('checked') == 'checked') {
+ $('#OAisbusinessservice').attr('checked',false);
+ $('#oa_config_storkservice').css('display', "block");
+ $('#oa_config_businessservice').css('display', "none");
+ $('#oa_config_publicservice').css('display', "none");
+
+ } else {
+ $('#oa_config_storkservice').css('display', "none");
+ $('#oa_config_businessservice').css('display', "none");
+ $('#oa_config_publicservice').css('display', "block");
+
+ }
+}
+
function oaSSOService() {
if ($('#OAuseSSO').attr('checked') == 'checked') {
@@ -199,6 +215,7 @@ function userOnLoad() {
}
function oaOnLoad() {
oaBusinessService();
+ oaStorkService();
oaSSOService();
oaLegacyService();
AdminTarget();