Bug #21470
closedElement-Browser page tree has HTML / JS Errors
0%
Description
have a look at the attached screenshot.
Steps to reproduce:
-add a DB Mount to an BE-User, press the red arrowbullet on a page (not on root)
Problem is using of the returnValue of t3lib_iconWorks::getSpriteIconForRecord('pages', $mainPageRec), which is a complete span tag. This tag is insert in the onclick JavaScript Statement insertElement.
function insertElement(table, uid, type, filename,fp,filetype,imagefile,action, close) { //
var performAction = true;
// Call performing function and finish this action:
if (performAction) {
addElement(filename,table+"_"+uid,fp,close);
}
return false;
}
in this case the imagefile is never used, so don't give over the imagefile to the javascript.
(issue imported from #M15428)
Files
Updated by Steffen Gebert over 14 years ago
Committed to
4-4 rev. 8567
trunk rev. 8568