summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/policy.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js
index c35696b61..54a0f36ea 100644
--- a/install/ui/policy.js
+++ b/install/ui/policy.js
@@ -501,12 +501,17 @@ IPA.records_facet = function (spec){
generate_tr(thead, tbody, result[i]);
}
+ tfoot.find('td').remove();
if (data.result.truncated) {
var message = IPA.messages.search.truncated;
message = message.replace('${counter}', data.result.count);
- tfoot.text(message);
+ tfoot.append($('<td />',{
+ colspan:2,
+ text:message}));
} else {
- tfoot.text(data.result.summary);
+ tfoot.append($('<td/>',{
+ colspan:2,
+ text:data.result.summary}));
}
}