Inline scripts are bad.
This PR removes the inline script for module and component finder (front end ONLY).
** Make sure you have some data and you have indexed stuff in finder **
1. Got to admin -> System -> Global configuration and click on the left panel at Smart Search
2. Disable everything
3. Apply this with Patchtester
4. Go to front end at the page you have mod_finder published and make a search
5. Got to admin -> System -> Global configuration and click on the left panel at Smart Search and start enabling options
For each one you enabling go to front end make a search
Please also watch your browser console log for script errors
The script should be on the page’s <head> like this:
@Bakual Thomas a quick question: what is the procedure for inclusion of an external library to the project? I found this which can replace the finder’s respective script, and thus, remove the mootools dependency from finder. (for the SITE part!)