From c1baebe97990a65076da02b112fe139422c44e97 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 8 Dec 2011 17:04:16 -0600 Subject: Fixed problem loading DNS records. The DNS records list page was not loaded correctly due to a recent change in HBAC Test. The page has been updated to use the load_all() to show all records in the zone. Ticket #388 --- install/ui/dns.js | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) (limited to 'install/ui/dns.js') diff --git a/install/ui/dns.js b/install/ui/dns.js index 48020af8..4853a944 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -447,35 +447,41 @@ IPA.dns.record_search_facet = function(spec) { var that = IPA.nested_search_facet(spec); - var init = function() { + that.load_all = function(data) { - that.table.load = function(result) { + var types = IPA.dns_record_types(); - that.table.empty(); + var result = data.result.result; + var records = []; - var types = IPA.dns_record_types(); + for (var i=0; i