Project

General

Profile

Bug #23400 ยป 0015495.patch

Administrator Admin, 2010-11-29 17:40

View differences:

typo3/js/tree.js (Arbeitskopie)
refresh: function() {
var r = new Date();
// randNum is useful so pagetree does not get cached in browser cache when refreshing
var loc = window.location.href.replace(/&randNum=\d+/, '');
var loc = window.location.href.replace(/&randNum=\d+|#.*/g, '');
var addSign = loc.indexOf('?') > 0 ? '&' : '?';
window.location = loc + addSign + 'randNum=' + r.getTime();
},
    (1-1/1)