summaryrefslogtreecommitdiffstats
path: root/install/ui/details.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-10-26 01:20:35 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-10-27 13:48:17 +0000
commit725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3 (patch)
treec089597fbd4cd9671b9362a6f0fcb9c5f8515df0 /install/ui/details.js
parent6af5755de595cc85b1f878710f834f43a23bf41c (diff)
downloadfreeipa.git-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.gz
freeipa.git-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.xz
freeipa.git-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.zip
Merged widget's metadata and param_info.
The metadata and param_info attributes in widget have been merged because they are redundant. Ticket #1436
Diffstat (limited to 'install/ui/details.js')
-rw-r--r--install/ui/details.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/details.js b/install/ui/details.js
index 5c03de0a..e2423486 100644
--- a/install/ui/details.js
+++ b/install/ui/details.js
@@ -647,9 +647,9 @@ IPA.details_facet = function(spec) {
var values = record[field.name];
if (!values) continue;
- var param_info = field.param_info;
- if (param_info) {
- if (param_info.primary_key) continue;
+ var metadata = field.metadata;
+ if (metadata) {
+ if (metadata.primary_key) continue;
if (values.length === 1) {
command.set_option(field.name, values[0]);
} else if (field.join) {