diff --git a/install/ui/policy.js b/install/ui/policy.js index 208b7c9ec..fedf40726 100644 --- a/install/ui/policy.js +++ b/install/ui/policy.js @@ -276,30 +276,21 @@ IPA.records_facet = function (spec){ }; function create(container) { + + container.attr('title', that.entity_name); + + $('
',{ + }).append(IPA.create_network_spinner()). + appendTo(container); + var details = $('', { 'class': 'content' }).appendTo(container); - } - - function setup(container){ - - that.facet_setup(container); - - that.pkey = $.bbq.getState(that.entity_name + '-pkey', true) || ''; - that.record = $.bbq.getState(that.entity_name + '-record', true) || ''; - - that.container.attr('title', that.entity_name); - - var h2 = $('',{ - text: "Records for DNS Zone:" + that.pkey - }).appendTo(that.container); - var div = $(''). - appendTo(that.container); + appendTo(details); var control_span =$('').appendTo(div); - control_span.append('Resource'); control_span.append($('',{ type: "text", @@ -311,13 +302,6 @@ IPA.records_facet = function (spec){ create_type_select('dns-record-type-filter',true). appendTo(control_span); - //commented out until data is searchable - //control_span.append('Data'); - //control_span.append($('',{ - // type: "text", - // id: 'dns-record-data-filter', - // name: 'search-' + obj_name + '-filter' - //})); IPA.button({ @@ -349,7 +333,7 @@ IPA.records_facet = function (spec){ var records_results = $('', { 'class': 'records-results' - }).appendTo(that.container); + }).appendTo(details); var records_table = $('