summaryrefslogtreecommitdiffstats
path: root/install/ui/add.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-11-04 20:43:39 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-11-11 14:44:25 +0000
commit9405e1a9db11294a11efa24a7a3c36ea76a42f31 (patch)
tree104dea0cb0624e66bd294c6886049d115e4142e8 /install/ui/add.js
parentdf6bd6ab5acf6d6178f6dd726b9c5927ae7cf047 (diff)
downloadfreeipa-9405e1a9db11294a11efa24a7a3c36ea76a42f31.tar.gz
freeipa-9405e1a9db11294a11efa24a7a3c36ea76a42f31.tar.xz
freeipa-9405e1a9db11294a11efa24a7a3c36ea76a42f31.zip
Added paging on search facet.
The search facet has been modified to support paging on most entities using the --pkey-only option to get the primary keys and a batch command to get the complete records. Paging on DNS records is not supported because a record may appear as multiple rows. The following entities do not have --pkey-only option: Automount Key, Self-Service Permissions, Delegation. The search and association facet have been refactored to reuse the common code from the table facet base class. Ticket #981
Diffstat (limited to 'install/ui/add.js')
-rw-r--r--install/ui/add.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/install/ui/add.js b/install/ui/add.js
index 621861fd6..c9d5e46bb 100644
--- a/install/ui/add.js
+++ b/install/ui/add.js
@@ -46,8 +46,7 @@ IPA.entity_adder_dialog = function(spec) {
that.add(
function(data, text_status, xhr) {
var facet = IPA.current_entity.get_facet();
- var table = facet.table;
- table.refresh();
+ facet.refresh();
that.close();
},
that.on_error);
@@ -67,8 +66,7 @@ IPA.entity_adder_dialog = function(spec) {
that.show_message(message);
var facet = IPA.current_entity.get_facet();
- var table = facet.table;
- table.refresh();
+ facet.refresh();
that.reset();
},
that.on_error);