Project

General

Profile

Actions

Bug #21470

closed

Element-Browser page tree has HTML / JS Errors

Added by Sven Juergens almost 14 years ago. Updated over 5 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 #1

Updated by Steffen Gebert almost 14 years ago

Committed to
4-4 rev. 8567
trunk rev. 8568

Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF