summaryrefslogtreecommitdiffstats
path: root/install/ui/search.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/search.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/search.js')
-rw-r--r--install/ui/search.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/install/ui/search.js b/install/ui/search.js
index dc347aa39..bd2c0f166 100644
--- a/install/ui/search.js
+++ b/install/ui/search.js
@@ -387,9 +387,7 @@ IPA.search_facet = function(spec) {
return filter != that.filter;
};
- that.create = function(container) {
-
- container.attr('title', that.entity_name);
+ that.create_content = function(container) {
var span = $('<span/>', { 'name': 'search' }).appendTo(container);
@@ -409,7 +407,7 @@ IPA.search_facet = function(spec) {
// methods that should be invoked by subclasses
that.search_facet_init = that.init;
- that.search_facet_create = that.create;
+ that.search_facet_create_content = that.create_content;
that.search_facet_setup = that.setup;