[TYPO3-core] RFC: #10377: Some errors in typo3/js-scripts causes some trouble

Steffen Kamper info at sk-typo3.de
Sat Feb 7 14:25:38 CET 2009


This is SVN patch request.

Type: Bugfix

Branches: trunk, 4_2

BT reference: http://bugs.typo3.org/view.php?id=10377

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

vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10377.diff
Type: text/x-diff
Size: 9182 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090207/ad91d490/attachment.diff 


More information about the TYPO3-team-core mailing list