summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-03-02 23:21:07 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-03-03 15:38:53 -0500
commit620903ff27b0dec764a618e2962a8623dde0febe (patch)
tree1ba53880b1bb96805a189e0deb4b9fb0101174d3
parent5a9a9723deffbeef23248e0f145788c9159b726a (diff)
downloadfreeipa-620903ff27b0dec764a618e2962a8623dde0febe.zip
freeipa-620903ff27b0dec764a618e2962a8623dde0febe.tar.gz
freeipa-620903ff27b0dec764a618e2962a8623dde0febe.tar.xz
fix truncated message
-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 c35696b..54a0f36 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}));
}
}