The association table needs to be emptied if there is no entries.
Pushed under one-liner rule. -- Endi S. Dewata
From 647c7f55ea5a9803dad8c088ccaa0a8c716acdc8 Mon Sep 17 00:00:00 2001 From: Endi S. Dewata <edew...@redhat.com> Date: Tue, 31 May 2011 16:55:56 -0500 Subject: [PATCH] Fixed pagination problem. The association table needs to be emptied if there is no entries. --- install/ui/associate.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/install/ui/associate.js b/install/ui/associate.js index ad2da521687d5e684882aa85eab9b94226d4f7ce..73a19021ab4bcc9511735402797dbf27f3c0827f 100644 --- a/install/ui/associate.js +++ b/install/ui/associate.js @@ -993,6 +993,7 @@ IPA.association_facet = function (spec) { var pkeys = that.record[that.name]; if (!pkeys || !pkeys.length) { + that.table.empty(); that.table.summary.text('No entries.'); return; } -- 1.7.4
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel