Project

General

Profile

Bug #19502 » 0009632.patch

Administrator Admin, 2008-10-29 00:54

View differences:

typo3/file_newfolder.php (working copy)
function reload(a) { //
if (!changed || (changed && confirm('.$LANG->JScharCode($LANG->sL('LLL:EXT:lang/locallang_core.php:mess.redraw')).'))) {
var params = "&target="+escape(path)+"&number="+a+"&returnUrl="+escape("' . $this->returnUrl . '");
var params = "&target="+encodeURIComponent(path)+"&number="+a+"&returnUrl="+encodeURIComponent("' . $this->returnUrl . '");
window.location.href = "file_newfolder.php?"+params;
}
}
typo3/file_upload.php (working copy)
function reload(a) { //
if (!changed || (changed '.$confirm.')) {
var params = "&target="+escape(path)+"&number="+a+"&returnUrl='.htmlspecialchars($this->returnUrl).'";
var params = "&target="+encodeURIComponent(path)+"&number="+a+"&returnUrl='.htmlspecialchars($this->returnUrl).'";
window.location.href = "file_upload.php?"+params;
}
}
(1-1/4)