Project

General

Profile

Actions

Bug #64360

closed

TCEForms.suggest JS code is broken

Added by Xavier Perseguers almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2015-01-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

The generated code is of the form:

var SuggestTt_contentPi_flexform37006 = new TCEForms.Suggest("data[tt_content][37006][pi_flexform][data][sDEF][lDEF][settings.startingpoint][vDEF]", "tt_content", "pi_flexform|data|sDEF|lDEF|settings.startingpoint|vDEF", "37006", 3000, 2", '');
SuggestTt_contentPi_flexform37006.defaultValue = "Find records";

and it crashes the JS parser since the minimum number of chars is wrongly quoted (ending double quote without leading one). As this variable is an integer, the trailing quote should be removed.


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Bug #50549: The suggest search does not work in new unsaved content elements.Closed2013-07-30

Actions
Actions

Also available in: Atom PDF