diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-28 19:17:58 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-05-05 12:14:43 -0500 |
commit | dd89c28654c92c0922900409b37c1abcefc56c84 (patch) | |
tree | cf6d1d5eedcce59a0cd1fd263c3fe9a7a435b36b /install/ui/dns.js | |
parent | 5eb9f088f2c5c902a55aefdf9dd8b2a95e060837 (diff) | |
download | freeipa-dd89c28654c92c0922900409b37c1abcefc56c84.tar.gz freeipa-dd89c28654c92c0922900409b37c1abcefc56c84.tar.xz freeipa-dd89c28654c92c0922900409b37c1abcefc56c84.zip |
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.
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r-- | install/ui/dns.js | 21 |
1 files changed, 1 insertions, 20 deletions
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); - - $('<input/>', { - 'type': 'button', - 'name': 'remove', - 'value': IPA.messages.buttons.remove - }).appendTo(buttons); - - $('<input/>', { - 'type': 'button', - 'name': 'add', - 'value': IPA.messages.buttons.add - }).appendTo(buttons); - }; - function create_content(container) { $('<h1/>',{ @@ -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'); |