diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-02-16 14:26:35 +0100 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-18 09:49:37 -0500 |
commit | b7700ea815222b4de80741ad77b31707051300bd (patch) | |
tree | 4c92ba518468af34f9587131c8f4de3bb13613e3 /install/ui/entity.js | |
parent | 27532f54687297e5dfa7d66503f22186d7fc3237 (diff) | |
download | freeipa-b7700ea815222b4de80741ad77b31707051300bd.tar.gz freeipa-b7700ea815222b4de80741ad77b31707051300bd.tar.xz freeipa-b7700ea815222b4de80741ad77b31707051300bd.zip |
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
Diffstat (limited to 'install/ui/entity.js')
-rw-r--r-- | install/ui/entity.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js index 18839c940..a5aed0d78 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); |