Ticket #505 (closed defect: wontfix)
Double semicolons all over the place in JavaScript output
| Reported by: | asaphosting | Owned by: | tboutell |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | apostrophePlugin | Version: | |
| Keywords: | Cc: | tboutell, | |
| Symfony version: | 1.4 |
Description
If you take a look at any page when logged-in you'll notice that there are double semicolons all over the place in inline JavaScript? handlers like onClick="doSomething();; return false;".
That's because the sfJqueryReloadedPlugin has code like this: $customCode.'; return false;' and the $customCode is the JS code you want to add via jq_* methods. So, I don't know if that's actually a syntax error or if the JS parser sees the semicolon as the line end and so the second semicolon simply marks an empty line. But it sure looks very weird. ;-)

