summaryrefslogtreecommitdiffstats
path: root/install/static/search.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-12-01 14:51:39 -0600
committerAdam Young <ayoung@redhat.com>2010-12-02 12:14:07 -0500
commitc0eb2b60c85dd686c96693e1a512986ba5b4306e (patch)
treea43a9cd445c0f14f6b30f7048fc93b5420dcebea /install/static/search.js
parent620c085ebf96ba93a83c249e874060d669edbf28 (diff)
downloadfreeipa-c0eb2b60c85dd686c96693e1a512986ba5b4306e.tar.gz
freeipa-c0eb2b60c85dd686c96693e1a512986ba5b4306e.tar.xz
freeipa-c0eb2b60c85dd686c96693e1a512986ba5b4306e.zip
Multicolumn enrollment dialog
The enrollment dialog has been modified to use scrollable tables that supports multiple columns to display the search results and selected entries. The columns are specified by calling create_adder_column() on the association facet. By default the tables will use only one column which is to display the primary keys. The following enrollment dialogs have been modified to use multiple columns: - Group's member_user - Service's managedby_host - HBAC Service Group's member_hbacsvc - SUDO Command Group's member_sudocmd The ipa_association_table_widget's add() and remove() have been moved into ipa_association_facet so they can be customized by facet's subclass. The ipa_table's add_row() has been renamed to add_record(). Some old code has been removed from ipa_facet_create_action_panel(). The code was used to generate association links from a single facet. It's no longer needed because now each association has its own facet. The test data has been updated. The IPA.nested_tabs() has been fixed to return the entity itself if IPA.tab_set is not defined. This is needed to pass unit test.
Diffstat (limited to 'install/static/search.js')
-rw-r--r--install/static/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/static/search.js b/install/static/search.js
index e79a534a8..f267c701a 100644
--- a/install/static/search.js
+++ b/install/static/search.js
@@ -211,7 +211,7 @@ function ipa_search_widget(spec) {
var result = data.result.result;
for (var i = 0; i<result.length; i++) {
var record = that.get_record(result[i], 0);
- that.add_row(record);
+ that.add_record(record);
}
var summary = $('span[name=summary]', that.tfoot);