Changeset 4911


Ignore:
Timestamp:
Apr 29, 2009, 1:16:38 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1302: Overview plots and correction factor plots as extension

Fixes a problem that caused all tabcontrol tabs to have hidden content to begin with.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/include/scripts/tabcontrol.js

    r4908 r4911  
    4545      {
    4646        var theWindow = window.opener ? window.opener : window.top;
    47         var rememberedTabId = this.getRememberedTabId(theWindow, tabControlId);
     47        var rememberedTabId = TabControl.getRememberedTabId(theWindow, tabControlId);
    4848        if (rememberedTabId) tabId = rememberedTabId
    4949      }
     
    6666      if (tabHeight && windowHeight)
    6767      {
    68         this.autoAdjust[this.autoAdjust.length] = tabControlId;
     68        TabControl.autoAdjust[TabControl.autoAdjust.length] = tabControlId;
    6969        tabContent.initialHeightDifference = windowHeight - tabHeight;
    7070      }
     
    108108    }
    109109    tabControl.activeTab = tab;
    110     this.rememberActiveTab(theWindow, tabControlId, tabId);
    111110    if (tabControl.activeContent != null)
    112111    {
     
    119118      tabControl.activeContent = content;
    120119    }
     120    TabControl.rememberActiveTab(theWindow, tabControlId, tabId);
    121121    return true;
    122122  }
Note: See TracChangeset for help on using the changeset viewer.