Actions
Bug #19985
closedSome errors in typo3/js-scripts causes some trouble
Start date:
2009-02-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I investigated the scripts in typo3/js with JSlint and found some problems which i solved.
As positive side effect the backendsearch-box now has a visible cursor.
I changed these issues:- added missing semicolons
- used === and !== with compare of integer and string
- added radix for parseInt
- changed lines if (condition) return; to
if (condition) {
return;
} - changed a = new Array(); to a = [];
- changed a = new Object(); to a = {};
- some vars where prefixed with var where they was defined before
(issue imported from #M10377)
Files
Actions