diff options
Diffstat (limited to 'install/ui/webui.js')
-rw-r--r-- | install/ui/webui.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/install/ui/webui.js b/install/ui/webui.js index 84a4f3331..eac07db23 100644 --- a/install/ui/webui.js +++ b/install/ui/webui.js @@ -85,8 +85,8 @@ IPA.self_serv_navigation = function(spec) { var that = IPA.navigation(spec); that.update = function() { - var pkey = $.bbq.getState('user-pkey'); - var facet = $.bbq.getState('user-facet'); + var pkey = that.get_state('user-pkey'); + var facet = that.get_state('user-facet'); if (pkey && facet) { that.navigation_update(); @@ -96,7 +96,7 @@ IPA.self_serv_navigation = function(spec) { 'user-pkey': pkey || IPA.whoami_pkey, 'user-facet': facet || 'details' }; - $.bbq.pushState(state); + that.push_state(state); } }; @@ -111,7 +111,6 @@ $(function() { IPA.nav.update(); } - function create_navigation() { var whoami = IPA.whoami; var factory; |