From f0f83a862eee908c308c25561a18f8b1e218c081 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 7 Apr 2011 16:14:58 -0500 Subject: 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(). --- install/ui/search.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'install/ui/search.js') diff --git a/install/ui/search.js b/install/ui/search.js index dc347aa3..bd2c0f16 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 = $('', { '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; -- cgit