From 314d6be229736d76aaf538e9e05894ee42b476fb Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 9 May 2011 20:46:52 -0500 Subject: Updated DNS interface. The IPA.records_facet has been converted into a subclass of IPA.search_facet. This helps remove duplicate table code and provide consistent DOM element attributes for Selenium tests. --- install/ui/widget.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'install/ui/widget.js') diff --git a/install/ui/widget.js b/install/ui/widget.js index a376c3ac..dd228888 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -1218,11 +1218,9 @@ IPA.table_widget = function (spec) { }).appendTo(td); }; - that.select_changed = function(){ }; - that.setup = function(container) { that.widget_setup(container); @@ -1292,6 +1290,10 @@ IPA.table_widget = function (spec) { return values; }; + that.get_selected_rows = function() { + return $('input[name="select"]:checked', that.tbody).closest('tr'); + }; + that.get_record = function(result, index) { var record = {}; for (var i=0; i