From 6db9543c087e71ed5882bb88959ed45db3002b20 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:09:43 +0200 Subject: [PATCH] add explicit double-inclusion of jquery so it's sorted correctly (#55469) --- src/authentic2_auth_fedict/fields.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/authentic2_auth_fedict/fields.py b/src/authentic2_auth_fedict/fields.py index 84f8b46..9746e8d 100644 --- a/src/authentic2_auth_fedict/fields.py +++ b/src/authentic2_auth_fedict/fields.py @@ -15,14 +15,16 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +import re +import requests import time from urllib.parse import urljoin from django import forms from django.conf import settings from django.utils.translation import ugettext_lazy as _ -import re -import requests + +from gadjo.templatetags.gadjo import xstatic class NrnField(forms.CharField): @@ -43,6 +45,7 @@ class DateWidget(forms.TextInput): class Media: css = {'all': ('authentic2_auth_fedict/css/datetimepicker.css',)} js = ( + xstatic('jquery', 'jquery.min.js'), 'authentic2_auth_fedict/js/bootstrap-datetimepicker.js', 'authentic2_auth_fedict/js/bootstrap-datetimepicker.fr.js', 'authentic2_auth_fedict/js/support.js',