summaryrefslogtreecommitdiffstats
path: root/install/ui/dns.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-07 16:14:58 -0500
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-04-11 16:03:30 +0000
commitf0f83a862eee908c308c25561a18f8b1e218c081 (patch)
tree3060f7656e414b1e41e75fe442726f8b36cb825d /install/ui/dns.js
parent960e730f3eebfa4609461bd2cb6506bc7f80741b (diff)
downloadfreeipa-f0f83a862eee908c308c25561a18f8b1e218c081.tar.gz
freeipa-f0f83a862eee908c308c25561a18f8b1e218c081.tar.xz
freeipa-f0f83a862eee908c308c25561a18f8b1e218c081.zip
Refactored action panel and client area.
To improve code readability and extensibility the containers for action panel and client area are now created in IPA.entity.setup(). The 'client area' has been renamed into 'content'. The IPA.facet.create() has been renamed to IPA.facet.create_content().
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r--install/ui/dns.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js
index 1af95f726..36ee2d6ef 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -282,16 +282,14 @@ IPA.records_facet = function (spec){
return pkey != that.pkey || record != that.record;
};
- function create(container) {
-
- container.attr('title', that.entity_name);
+ function create_content(container) {
$('<h1/>',{
}).append(IPA.create_network_spinner()).
appendTo(container);
var details = $('<div/>', {
- 'class': 'content'
+ 'name': 'details'
}).appendTo(container);
var div = $('<div class="search-controls"></div>').
@@ -522,7 +520,7 @@ IPA.records_facet = function (spec){
}
- that.create = create;
+ that.create_content = create_content;
that.setup = setup;
that.refresh = refresh;