Project

General

Profile

Actions

Bug #21470

closed

Element-Browser page tree has HTML / JS Errors

Added by Sven Juergens over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-08-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

element-browser-html.gif (25.5 KB) element-browser-html.gif Administrator Admin, 2010-08-11 16:10
15428.diff (1.14 KB) 15428.diff Administrator Admin, 2010-08-11 16:13

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #23420: Broken buttons in element BrowserClosedSteffen Gebert2010-08-22

Actions
Actions

Also available in: Atom PDF