Bug #62205
closedjsfunc.inline.js is not fully jQuery compatible
100%
Description
Hello Core-Team,
there are multiple parts in jsfunc.inline.js where you try to access subobjects directly on a jQuery-object.
Example: If you have "var selectBox = jQuery('#selectId');" you will get a jQuery-init-object which contains the selectbox with id #selectId as array on ID 0
So if you want to access the selectbox now, you have to call "selectBox0".
I would to prefer to add all jQuery-Objects a $ in front to differ them from all the "normal" JS-Objects.
Stefan
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33302
Updated by Markus Klein about 10 years ago
I agree. This is common practise in JS.
Updated by Gerrit Code Review about 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33302
Updated by Gerrit Code Review about 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33302
Updated by Gerrit Code Review about 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33302
Updated by Stefan Froemken about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dec07e3c44fb6f7504361e28a378ccdfcdb3b6c1.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed