Changeset 5083


Ignore:
Timestamp:
Aug 28, 2009, 1:44:11 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #1363: IE8 problems

Fixes a problem with remembering tabs for non-popup windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.13-stable/www/include/scripts/tabcontrol.js

    r5082 r5083  
    4444      if (!tabControl.activeTab)
    4545      {
    46         var theWindow = window.opener ? window.opener : window.top;
     46        var theWindow = window.opener ? window.opener : window;
    4747        var rememberedTabId = TabControl.getRememberedTabId(theWindow, tabControlId);
    4848        if (rememberedTabId) tabId = rememberedTabId
     
    8181  {
    8282    var tabControl = document.getElementById(tabControlId);
    83     var theWindow = window.opener ? window.opener : window.top;
     83    var theWindow = window.opener ? window.opener : window;
    8484 
    8585    var realTabId = tabControlId+'.'+tabId;
Note: See TracChangeset for help on using the changeset viewer.