Skip to content

Commit

Permalink
Fix bug when selected tab
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@4798 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
ionmx committed Apr 8, 2010
1 parent 22b127f commit f0eccb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CTK/Tab.py
Expand Up @@ -80,7 +80,7 @@
}).bind('tabsselect', function(event, ui) {
/* Selection fixes for the tab theme */
var tabslen = this_tab.tabs('length');
var nprevtab = parseInt(ui.index);
var nprevtab = parseInt(get_cookie('opentab')) + 2;
var nnexttab = parseInt(ui.index) +2;
if (nprevtab < tabslen) {
Expand Down

0 comments on commit f0eccb9

Please sign in to comment.