Hot answers tagged

3

Thanks to Clive for his help ! To active the autocomplete, I should re-attach the autocomplete behavior after added my new element. nodeSelectorWidget: function (args) { // Adding the autocomplete field var createField = function() { var input = document.createElement('input'); input.classList.add('form-autocomplete'); ...


1

Ok, this was just a stupid mistake in a another javascript. There the jQuery method .off() was used to remove event listeners which had the effect to remove the Ajax event listener.


1

In general the Internal Page Cache is a rather simple solution. If you need more features replace it with Varnish or a CDN. Most of them provide similar features, like for example ESI to serve dynamic blocks if you can't use Javascript. I think most people would use Javascript in this case, though, and there is a fully cacheable solution. You can deliver all ...


Only top voted, non community-wiki answers of a minimum length are eligible