From ff9d62a8ed779597e1294937a79f2a47638215e1 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Fri, 15 Feb 2013 17:00:59 +0530 Subject: [PATCH] LDAP UI front end complete --- ui/scripts/globalSettings.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/scripts/globalSettings.js b/ui/scripts/globalSettings.js index 9ede3135aa4..e9461490b27 100644 --- a/ui/scripts/globalSettings.js +++ b/ui/scripts/globalSettings.js @@ -150,8 +150,8 @@ }, port: { label: 'Port' , defaultValue: '389' }, - truststore:{ label:'Trust Store' , isHidden:true }, - truststorepassword:{ label:'Trust Store Password' ,isHidden:true } + truststore:{ label:'Trust Store' , isHidden:true , dependsOn:'ssl' }, + truststorepassword:{ label:'Trust Store Password' ,isHidden:true , dependsOn:'ssl'} } @@ -160,11 +160,6 @@ action:function(args) { - var $form = $(this).closest("form"); - if($form.find('.form-item [rel=port]').find('input[ type=checkbox]').is(":checked") ==true) { - $form.find('.form-item[rel=truststore]').attr("isHidden",false); - $form.find('.form-item[rel=truststorepassword]').attr("isHidden",false); - } }