Project

General

Profile

Bug #18284 » 0007637_v3.patch

Administrator Admin, 2008-02-23 17:06

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
window.location.href = '?randNum=' + r.getTime();
var search = window.location.search.replace(/&randNum=\d+/, '');
window.location.search = search+'&randNum=' + r.getTime();
},
// attaches the events to the elements needed for the drag and drop (for the titles and the icons)
typo3/alt_mod_frameset.php (Arbeitskopie)
// Navigation frame URL:
$script = t3lib_div::_GP('script');
$nav = t3lib_div::_GP('nav');
$URL_nav = htmlspecialchars($nav.'?currentSubScript='.rawurlencode($script));
$URL_nav = htmlspecialchars($nav.'&currentSubScript='.rawurlencode($script));
// List frame URL:
$URL_list = htmlspecialchars($this->exScript?$this->exScript:($script.($this->id?'?id='.rawurlencode($this->id):'')));
(3-3/3)