Project

General

Profile

Actions

Bug #13512

closed

Suggest Wizard does not work

Added by Martin Neumann over 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-02
Due date:
% Done:

100%

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

Description

In TCA fields with wizard "suggest" the wizard seems to work on the first glance: results are fetched via AJAX and displayed.
But if I click on some result row the value is not transfered to the real select (or group) field. This problem is in v4.3, v4.4 and v4.5

This is due to the JS file
/t3lib/js/jsfunc.tceforms_suggest.js
where the name of the form object is hard coded ...

So I replaced

var formEl = 'data[' + rec_table + '][' + rec_uid + '][' + rec_field + ']';

by

var formEl = TBE_EDITOR.prependFormFieldNames+'[' + rec_table + '][' + rec_uid + '][' + rec_field + ']';

and everything is fine.


Files

Actions

Also available in: Atom PDF