Changeset 6580


Ignore:
Timestamp:
Oct 28, 2014, 7:50:27 AM (8 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1874: Please wait. The annotations are loading...

Use location.replace() to load the new page instead of location.href.

Location:
branches/3.3-stable/www/common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-stable/www/common/annotations/list.js

    r6255 r6580  
    4747    url += '&item_type='+Data.get('annotate-data', 'item-type');
    4848    url += '&item_id='+Data.get('annotate-data', 'item-id');
    49     frames['annotations'].location.href = url;
     49    frames['annotations'].location.replace(url);
    5050    loaded = true;
    5151  }
  • branches/3.3-stable/www/common/history/history.js

    r6307 r6580  
    6060    url += '&source_type='+Data.get('history-data', 'source-type');
    6161    url += '&source_id='+Data.get('history-data', 'source-id');
    62     frames['history-frame'].location.href = url;
     62    frames['history-frame'].location.replace(url);
    6363    loaded = true;
    6464  }
  • branches/3.3-stable/www/common/overview/overview.js

    r6242 r6580  
    4141    url += '&item_type='+Data.get('overview-data', 'item-type');
    4242    url += '&item_id='+Data.get('overview-data', 'item-id');
    43     frames['overview'].location.href = url;
     43    frames['overview'].location.replace(url);
    4444    loaded = true;
    4545  }
     
    5151    url += '&item_type='+Data.get('overview-data', 'item-type');
    5252    url += '&item_id='+Data.get('overview-data', 'item-id');
    53     frames['overview'].location.href = url;
     53    frames['overview'].location.replace(url);
    5454  }
    5555 
     
    6060    url += '&item_type='+Data.get('overview-data', 'item-type');
    6161    url += '&item_id='+Data.get('overview-data', 'item-id');
    62     frames['overview'].location.href = url;
     62    frames['overview'].location.replace(url);
    6363  }
    6464
Note: See TracChangeset for help on using the changeset viewer.