From f47ec1172761eb08a5f54ce73e8508f5c3729756 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 21 Jun 2011 09:18:24 -0500 Subject: Fixed problem with navigation tabs on reload. The navigation have been fixed to show the correct active tabs after browser reload. Ticket #1362 --- install/ui/navigation.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'install/ui/navigation.js') diff --git a/install/ui/navigation.js b/install/ui/navigation.js index 308f21154..5d70f8792 100644 --- a/install/ui/navigation.js +++ b/install/ui/navigation.js @@ -132,7 +132,9 @@ IPA.navigation = function(spec) { that.create = function() { - var container = $('
').appendTo(that.container); + var container = $('
', { + name: 'navigation' + }).appendTo(that.container); that._create(that.tabs, container, 1); @@ -152,13 +154,11 @@ IPA.navigation = function(spec) { container.addClass(that.tab_class); container.addClass('tabs'+depth); - var parent_id = container.attr('id'); - var ul = $('
    ').appendTo(container); for (var i=0; i