mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Adam Young
parent
95901bbdb5
commit
571274e978
@@ -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);
|
||||
|
Reference in New Issue
Block a user