You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2013/02/19 12:24:15 UTC
[2/6] git commit: refs/heads/master - LDAP UI front end complete
LDAP UI front end complete
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ff9d62a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ff9d62a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ff9d62a8
Branch: refs/heads/master
Commit: ff9d62a8ed779597e1294937a79f2a47638215e1
Parents: 2b3e23f
Author: Pranav Saxena <pr...@citrix.com>
Authored: Fri Feb 15 17:00:59 2013 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Fri Feb 15 17:00:59 2013 +0530
----------------------------------------------------------------------
ui/scripts/globalSettings.js | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ff9d62a8/ui/scripts/globalSettings.js
----------------------------------------------------------------------
diff --git a/ui/scripts/globalSettings.js b/ui/scripts/globalSettings.js
index 9ede313..e946149 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);
- }
}