diff options
Diffstat (limited to 'install/ui/entity.js')
-rw-r--r-- | install/ui/entity.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js index ce086bd1..75f781e6 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -52,6 +52,9 @@ IPA.entity = function(spec) { that.redirect_facet = spec.redirect_facet; that.containing_entity = null; + that.init = function(params) { + }; + that.get_containing_entity = function() { return that.containing_entity ? IPA.get_entity(that.containing_entity) : null; @@ -282,7 +285,7 @@ IPA.nested_tabs = function(entity_name) { return siblings; }; -IPA.entity_builder = function(){ +IPA.entity_builder = function() { var that = {}; @@ -523,10 +526,7 @@ IPA.entity_builder = function(){ }; that.build = function(){ - var item = entity; - entity = null; - - return item; + return entity; }; return that; |