Project

General

Profile

Bug #20083 » 10258.diff

Administrator Admin, 2009-02-27 21:23

View differences:

typo3/js/tree.js (working copy)
refresh: function() {
var r = new Date();
// randNum is useful so pagetree does not get cached in browser cache when refreshing
var search = window.location.search.replace(/&randNum=\d+/, '');
window.location.search = search+'&randNum=' + r.getTime();
var location = window.location.href.replace(/&randNum=\d+/, '');
window.location = location + '&randNum=' + r.getTime();
},
// attaches the events to the elements needed for the drag and drop (for the titles and the icons)
(2-2/2)