aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp/js/common.js
diff options
context:
space:
mode:
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