From 571274e978434a7b5e17100076172233e7320855 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 15 Jul 2011 12:18:59 -0500 Subject: 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 --- install/ui/dialog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/dialog.js') 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); -- cgit