diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-07-15 12:18:59 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-07-18 14:47:57 -0400 |
commit | 571274e978434a7b5e17100076172233e7320855 (patch) | |
tree | 6f3218dca5c41aad38d408f311546c72dd5c99d3 /install/ui/dialog.js | |
parent | 95901bbdb55cdf4213d3da4a79792805f7e8f264 (diff) | |
download | freeipa.git-571274e978434a7b5e17100076172233e7320855.tar.gz freeipa.git-571274e978434a7b5e17100076172233e7320855.tar.xz freeipa.git-571274e978434a7b5e17100076172233e7320855.zip |
Entity select widget improvements
The IPA.entity_select_widget has been modified into a searchable and
editable drop down list. The base functionality has been extracted
into IPA.combobox_widget.
Ticket #1361
Diffstat (limited to 'install/ui/dialog.js')
-rw-r--r-- | install/ui/dialog.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/dialog.js b/install/ui/dialog.js index 60768429..9d22da7f 100644 --- a/install/ui/dialog.js +++ b/install/ui/dialog.js @@ -35,7 +35,7 @@ IPA.dialog = function(spec) { that.template = spec.template; that._entity_name = spec.entity_name; - that.width = spec.width || '400px'; + that.width = spec.width || 400; that.height = spec.height; that.buttons = {}; @@ -375,7 +375,8 @@ IPA.adder_dialog = function (spec) { var that = IPA.dialog(spec); - that.width = spec.width || '600px'; + that.width = spec.width || 600; + that.height = spec.height || 360; that.columns = $.ordered_map(); @@ -534,7 +535,6 @@ IPA.adder_dialog = function (spec) { that.find_button = IPA.button({ name: 'find', 'label': button.val(), - 'icon': 'ui-icon-search', 'click': function() { that.search(); } }); button.replaceWith(that.find_button); |