From dd89c28654c92c0922900409b37c1abcefc56c84 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 28 Apr 2011 19:17:58 -0500 Subject: Moved entity contents outside navigation. Previously the entities and navigation are entangled inside a common DOM structure which limits code reuse. Now they have been moved into separate structures. --- install/ui/dns.js | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'install/ui/dns.js') diff --git a/install/ui/dns.js b/install/ui/dns.js index 5cb49e55f..5af6e7a32 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -304,25 +304,6 @@ IPA.records_facet = function (spec){ return pkey != that.pkey || record != that.record; }; - that.create_action_panel = function(container) { - - that.facet_create_action_panel(container); - - var buttons = $('.action-controls', container); - - $('', { - 'type': 'button', - 'name': 'remove', - 'value': IPA.messages.buttons.remove - }).appendTo(buttons); - - $('', { - 'type': 'button', - 'name': 'add', - 'value': IPA.messages.buttons.add - }).appendTo(buttons); - }; - function create_content(container) { $('

',{ @@ -537,7 +518,7 @@ IPA.records_facet = function (spec){ //TODO this is cut and pasted from search, we need to unify function display(obj_name, data){ - var selector = '.entity-container[title=' + obj_name + ']'; + var selector = '.entity-container[name=' + obj_name + ']'; var thead = $(selector + ' thead'); var tbody = $(selector + ' tbody'); var tfoot = $(selector + ' tfoot'); -- cgit