From 7e088a83782de9204af0a5bc120b4c97daae2c72 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 11 Feb 2013 12:56:35 +0100 Subject: Global trust config page https://fedorahosted.org/freeipa/ticket/3333 --- install/ui/src/freeipa/widget.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'install/ui/src/freeipa/widget.js') diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 44b8611a3..17d9b8b77 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -2734,12 +2734,14 @@ IPA.entity_select_widget = function(spec) { that.other_field = spec.other_field; that.options = spec.options || []; + that.filter_options = spec.filter_options || {}; that.create_search_command = function(filter) { return IPA.command({ entity: that.other_entity.name, method: 'find', - args: [filter] + args: [filter], + options: that.filter_options }); }; @@ -2773,6 +2775,8 @@ IPA.entity_select_widget = function(spec) { if (that.on_search_success) that.on_search_success.call(this, data, text_status, xhr); }; + that.entity_select_set_options = that.set_options; + return that; }; -- cgit