In the Joomla 3.X series I see there is a move away from Mootools to jQuery, with refactoring still ongoing.
That said, Mootools is still required for the Smart Search module to enable autocomplete (the JS
Oddly, Mootools is included on the Smart Search results page, so autocomplete works.
However, Mootools is only included on some pages, and so autocomplete fails with:
Uncaught ReferenceError: Class is not defined
If I add:
to my template it works correctly on all pages. As it stands, the library loads on certain pages and not others, and I can't see a pattern.
Has anyone else experienced this behaviour, or know how to resolve it without template hacks?
This is for J3.2.3.