From 3b8b5e71c15f8d82500405363bd30562b289a3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 8 Jul 2021 12:17:22 +0200 Subject: [PATCH] add more explicit inclusions of jquery (for streets and countries) (#55469) --- src/authentic2_auth_fedict/fields.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/authentic2_auth_fedict/fields.py b/src/authentic2_auth_fedict/fields.py index 9746e8d..418f653 100644 --- a/src/authentic2_auth_fedict/fields.py +++ b/src/authentic2_auth_fedict/fields.py @@ -79,6 +79,7 @@ class StreetWidget(forms.TextInput): class Media: css = {'all': ('xstatic/themes/smoothness/jquery-ui.css',)} js = ( + xstatic('jquery', 'jquery.min.js'), 'xstatic/jquery-ui.js', 'authentic2_auth_fedict/js/support.js', ) @@ -104,6 +105,7 @@ class CountryWidget(forms.Select): class Media: css = {'all': ('xstatic/themes/smoothness/jquery-ui.css',)} js = ( + xstatic('jquery', 'jquery.min.js'), 'xstatic/jquery-ui.js', 'authentic2_auth_fedict/js/support.js', )