Actions
Bug #64360
closedTCEForms.suggest JS code is broken
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.
Actions