aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/js/common.js
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2013-07-29 16:18:47 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2013-08-06 10:24:36 +0200
commite281b81475cc8a94a59f6ce7767d4b0996ea7180 (patch)
tree51b7a5e0e0a1abacc6157a0509377cdc5fb03fed /id/ConfigWebTool/src/main/webapp/js/common.js
parent99694b29f82f858f5b6163e6a3d6c11caaeb487e (diff)
downloadmoa-id-spss-e281b81475cc8a94a59f6ce7767d4b0996ea7180.tar.gz
moa-id-spss-e281b81475cc8a94a59f6ce7767d4b0996ea7180.tar.bz2
moa-id-spss-e281b81475cc8a94a59f6ce7767d4b0996ea7180.zip
Configuration Tool:
- OA Configuration TODO: - General Configuration - Import - User Management
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/js/common.js')
-rw-r--r--id/ConfigWebTool/src/main/webapp/js/common.js55
1 files changed, 55 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/js/common.js b/id/ConfigWebTool/src/main/webapp/js/common.js
new file mode 100644
index 000000000..431824c2a
--- /dev/null
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -0,0 +1,55 @@
+function oaBusinessService() {
+ if ($('#OAisbusinessservice').attr('checked') == 'checked') {
+
+ $('#oa_config_businessservice').css('display', "block");
+ $('#oa_config_publicservice').css('display', "none");
+
+ } else {
+
+ $('#oa_config_businessservice').css('display', "none");
+ $('#oa_config_publicservice').css('display', "block");
+
+ }
+}
+function oaSSOService() {
+ if ($('#OAuseSSO').attr('checked') == 'checked') {
+
+ $('#sso_bock').css('display', "block");
+
+ } else {
+
+ $('#sso_bock').css('display', "none");
+
+ }
+}
+function oaSAML1() {
+ if ($('#oa_saml1_area').css('display') == "block") {
+ $('#oa_saml1_area').css('display', "none");
+ $('#button_smal1_show').css('display', "block");
+ $('#button_saml1_hidden').css('display', "none");
+ } else {
+ $('#oa_saml1_area').css('display', "block");
+ $('#button_smal1_show').css('display', "none");
+ $('#button_saml1_hidden').css('display', "block");
+ }
+}
+function oaPVP2(){
+ if ($('#oa_pvp2_area').css('display') == "block") {
+ $('#oa_pvp2_area').css('display', "none");
+ $('#button_pvp2_show').css('display', "block");
+ $('#button_pvp2_hidden').css('display', "none");
+ } else {
+ $('#oa_pvp2_area').css('display', "block");
+ $('#button_pvp2_show').css('display', "none");
+ $('#button_pvp2_hidden').css('display', "block");
+ }
+}
+function editOA(oaid){
+ $('#selectOAForm_OAID').val(oaid);
+ $('#selectOAForm').submit();
+}
+function oaOnLoad() {
+ oaBusinessService();
+ oaSSOService();
+ return true;
+} \ No newline at end of file