Can't use prototype in plugins as $ conflicts with jquery
|Reported by:||Owned by:||Christopher Lenz|
|Severity:||normal||Keywords:||search.js jquery prototype|
When you try to use prototype.js library in your plugins, The '$' function conflicts with the '$' in jquery.
This shows error in search.js that is available on all the plugin pages and it uses the $ from jquery, but since prototype is loaded later it overrides the $ and this causes an error in search.js when the plugin is opened.
The resolution is to use jquery in no conflict mode. Attached is the diff that implements this, and has to be applied to trac/htdocs/js/search.js
Change History (42)
comment:13 by , 13 years ago
|Component:||search system → general|
|Milestone:||0.11.1 → 0.11|
|Status:||new → assigned|