I am using a form with some autocomplete fields.
The autocomplete worked fine so I set the performance settings for production use (css/js optimisation etc) and told the customer to test the system. He complained about autocomplete not working. I tested a little and found out that my autocomplete fields stop working when I enable the javascript optimisation.
I also tested other modules, for example privatemsg. Same problem here.
Firebug network tab shows me that no request is sent, the autocomplete script doesn't trigger or something like that
reproduce
Disable JS compression in performance settings. Find an autocomplete field in your drupal test install. Test it. Enable JS compression. Test the autocomplete field again.
There is no reaction. The autocomplete fields show the typical icon for autocomplete but it doesn't do anything when I type some text.
Comments
Comment #1
mdupontThis is an old issue so I will close it. FYI, if one of your JS files is not properly self contained, it will break most of the JS code when aggregated into 1 file. It it happens to you, check you custom JS code in your theme. Aggregation works fine otherwise.