Project

General

Profile

Actions

Bug #15299

closed

class.db_list_extra::makeControl() renders broken edit icon in custom DB Lists

Added by old_webbo over 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-12-21
Due date:
% Done:

0%

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

Description

I am developing an extension that has a customer Record Listing page and therefore I am trying to use the core classes associated with this.

Within the makeControl method in the code section that creats the edit link and icon a call to t3lib_BEfunc::editOnClick() is made however no parameter for backPath is passed therefore the link is broken when created within a customer extension.

To fix this line 802 of typo3/class.db_list_extra.inc should be changed from:

$cells[]='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,'',-1)).'">'.

To:

$cells[]='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,$this->backPath,-1)).'">'.

Call the makeControl() method from within a custom extension (e.g. outside of the core typo3/ folder)

(issue imported from #M2071)

Actions #1

Updated by Christian Kuhn over 15 years ago

This is solved.

The requested change has been done long ago, all editOnClick calls include the backPath at least since 4.1.

Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF