moksha/public/javascript/ui/moksha.ui.tabs.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 954a1c9d376dab07e447f40a67a1afc3beaad7fe
Author: John (J5) Palmieri <johnp(a)redhat.com>
Date: Tue Mar 30 14:26:10 2010 -0400
correctly select the tab to show
diff --git a/moksha/public/javascript/ui/moksha.ui.tabs.js
b/moksha/public/javascript/ui/moksha.ui.tabs.js
index f53aed8..6a7e760 100644
--- a/moksha/public/javascript/ui/moksha.ui.tabs.js
+++ b/moksha/public/javascript/ui/moksha.ui.tabs.js
@@ -251,7 +251,6 @@ $.widget("ui.mokshatabs", $.ui.tabs, {
moksha.update_title(title, 1);
//var $show = $($(a).data('dynamic_href.tabs') +
':first', self.element)
- //$show.show().removeClass(o.hideClass); // use show and remove class to
show in any case no matter how it has been hidden before
// seems to be expected behavior that the show callback is fired
self.element.queue("tabs", function() {
@@ -386,7 +385,7 @@ $.widget("ui.mokshatabs", $.ui.tabs, {
return true;
var el = this, $li = $(this).closest('li'), $hide =
self.panels.filter(':not(.ui-tabs-hide)'),
- $show = $(self._sanitizeSelector(this.hash));
+ $show = $($(this).data('dynamic_href.tabs') +
':first', self.element);
// If tab is already selected and not collapsible or tab disabled or
// or is already loading or click callback returns false stop here.
Show replies by date