Fixed pagination problem.

The association table needs to be emptied if there is no entries.
This commit is contained in:
Endi S. Dewata
2011-05-31 22:11:24 +00:00
committed by Endi Sukma Dewata
parent b01220cc38
commit 007f6dd4c2
+1
View File
@@ -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;
}