From b7700ea815222b4de80741ad77b31707051300bd Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Wed, 16 Feb 2011 14:26:35 +0100 Subject: Remove WebUI identifiers from global namespace Many WebUI identifiers were defined in a global namespace. This is not a good programming practice and may result in name clashes, for example with other libraries. This patch moves these variables to IPA namespace or its sub-namespaces, when meaningful. https://fedorahosted.org/freeipa/ticket/212 --- install/ui/entity.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'install/ui/entity.js') diff --git a/install/ui/entity.js b/install/ui/entity.js index 18839c94..a5aed0d7 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -242,9 +242,6 @@ IPA.entity = function (spec) { }; -/* use this to track individual changes between two hashchange events */ -var window_hash_cache = {}; - /*renamed to avoid clash with IPA.get_entity*/ IPA.fetch_entity = function (entity_name) { @@ -609,7 +606,7 @@ IPA. facet_create_action_panel = function(container) { var state = {}; state[nested_tabs[0]+'-entity'] = this.title; - nav_push_state(state); + IPA.nav.push_state(state); return false; } }).appendTo(ul); -- cgit