Hi.

When dealing with a form widget, the javascript returned from
getJavascripts() method is included for every widget in the page, even
if it points to the same file so you end up having:

<script src="file.js"></script>
<script src="file.js"></script>
<script src="file.js"></script>
...

which imho is very bad (ie. if you set up event handlers in file.js
they're attached multiple times slowing down everything...)

is there a way to prevent this behaviour ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to