Hi folx,
you silently changed the head.twig file from release
3.9.0+180604
to
3.10.0+180611
in the vanilla theme:
Code:
$(document).on('ready pjax:scriptcomplete', function () {
ajaxHandler.bindActions();
});
to
Code:
$(document).on('ready', function () {
ajaxHandler.bindActions();
});
I'm not familiar with pjax but this change - or the consequence of it, made that if the event
Code:
pjax:scriptcomplete
would remain in the theme, the
functionality broke in the following way:
In 3.9.0+180604 the clearall-process openes a browser alert (or something close to) confirmation dialog. In the latest version it opens a bootstrap modal. If
Code:
pjax:scriptcomplete
remains in the theme because it has been changed due to theme-customization (no chance for inheritance anymore) the modal gets loaded twice. This causes that it doesn't react on click events anymore. The only way out is to reload the page.
This situation could potentially happen with every single LS update so my question is how can I face this problem. The customer I'm doing it for is huge. If this happens during a running survey - :evil:
Shall I set up a theme from the scratch instead?
Don't get me wrong: As a user I really like the theme editor and inheritance/ extension architecture.