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.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/js/common.js b/id/ConfigWebTool/src/main/webapp/js/common.js
index 5271a4006..249cb37fa 100644
--- a/id/ConfigWebTool/src/main/webapp/js/common.js
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -52,8 +52,20 @@ function userOA(userid){
$('#selectUserForm_OAID').val(userid);
$('#selectUserForm').submit();
}
+function oaLegacyService() {
+ if ($('#OAislegacy').attr('checked') == 'checked') {
+
+ $('#oa_config_sltemplates').css('display', "block");
+
+ } else {
+
+ $('#oa_config_sltemplates').css('display', "none");
+
+ }
+}
function oaOnLoad() {
oaBusinessService();
oaSSOService();
+ oaLegacyService();
return true;
} \ No newline at end of file