summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/widget.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-11 12:32:39 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:23 +0200
commit45b70425fc41ffd3b79f60bc51d45ddded4bfcd8 (patch)
treeaed9fc8e73eb67b869953f0a08a44c9e4e837a19 /install/ui/src/freeipa/widget.js
parentc9b5038a6267c5cb6e50af1c4c7e36f0d262fe7e (diff)
downloadfreeipa-45b70425fc41ffd3b79f60bc51d45ddded4bfcd8.tar.gz
freeipa-45b70425fc41ffd3b79f60bc51d45ddded4bfcd8.tar.xz
freeipa-45b70425fc41ffd3b79f60bc51d45ddded4bfcd8.zip
Replace old builder by new implementation
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/widget.js')
-rw-r--r--install/ui/src/freeipa/widget.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index e5bed202..0a8631e8 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -74,7 +74,7 @@ IPA.widget = function(spec) {
facet: that.facet
});
- var child = IPA.build(spec, factory);
+ var child = IPA.build(spec,{}, factory);
return child;
};
@@ -3152,7 +3152,7 @@ IPA.details_table_section = function(spec) {
spec = spec || {};
var that = IPA.details_section(spec);
- that.layout = IPA.build_default(spec.layout, IPA.table_layout);
+ that.layout = IPA.build(spec.layout || IPA.table_layout);
that.action_panel = that.build_child(spec.action_panel);
that.rows = $.ordered_map();
@@ -3228,7 +3228,7 @@ IPA.multiple_choice_section = function(spec) {
var that = IPA.composite_widget(spec);
that.choices = $.ordered_map().put_array(spec.choices, 'name');
- that.layout = IPA.build_default(spec.layout, IPA.table_layout);
+ that.layout = IPA.build(spec.layout || IPA.table_layout);
that.create = function(container) {