LDAP UI front end complete

This commit is contained in:
Pranav Saxena 2013-02-15 17:00:59 +05:30
parent 2b3e23f6cf
commit ff9d62a8ed
1 changed files with 2 additions and 7 deletions

View File

@ -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);
}
}