From 4fdd27018732e6f4cf853e74b484a88d4c623f77 Mon Sep 17 00:00:00 2001 From: Jan Brasna <1784648+janbrasna@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:03:36 +0200 Subject: [PATCH] Update Speaker Request form (#14874) --- .../press/templates/press/speaker-request.html | 7 +++---- media/js/libs/modernizr.custom.inputtypes.js | 3 --- media/js/press/speaker-request.js | 17 ----------------- media/static-bundles.json | 7 ------- 4 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 media/js/libs/modernizr.custom.inputtypes.js delete mode 100644 media/js/press/speaker-request.js diff --git a/bedrock/press/templates/press/speaker-request.html b/bedrock/press/templates/press/speaker-request.html index 7327cd4784f..bfb8d010a25 100644 --- a/bedrock/press/templates/press/speaker-request.html +++ b/bedrock/press/templates/press/speaker-request.html @@ -170,7 +170,7 @@

- + {{ field_with_attrs(form.sr_event_speakers_confirmed, class='mzp-c-field-control'|safe) }}
{{ form.sr_event_speakers_confirmed.errors }}
@@ -216,7 +216,7 @@

- Topic of Presentation + {{ field_with_attrs(form.sr_presentation_topic, class='mzp-c-field-control'|safe) }}
{{ form.sr_presentation_topic.errors }}
@@ -232,7 +232,7 @@

Additional Information -
+
{{ field_with_attrs(form.sr_attachment, class='mzp-c-field-control'|safe) }}
@@ -261,5 +261,4 @@

{% block email_form %}{% endblock %} {% block js %} - {{ js_bundle('press_speaker_request') }} {% endblock %} diff --git a/media/js/libs/modernizr.custom.inputtypes.js b/media/js/libs/modernizr.custom.inputtypes.js deleted file mode 100644 index 15fdc538d07..00000000000 --- a/media/js/libs/modernizr.custom.inputtypes.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! modernizr 3.6.0 (Custom Build) | MIT * - * https://modernizr.com/download/?-inputtypes-setclasses !*/ - !function(e,t,n){function a(e,t){return typeof e===t}function s(){var e,t,n,s,i,o,c;for(var u in r)if(r.hasOwnProperty(u)){if(e=[],t=r[u],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;nr;r++)p.setAttribute("type",a=e[r]),i="text"!==p.type&&"style"in p,i&&(p.value=l,p.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(a)&&p.style.WebkitAppearance!==n?(u.appendChild(p),s=t.defaultView,i=s.getComputedStyle&&"textfield"!==s.getComputedStyle(p,null).WebkitAppearance&&0!==p.offsetHeight,u.removeChild(p)):/^(search|tel)$/.test(a)||(i=/^(url|email)$/.test(a)?p.checkValidity&&p.checkValidity()===!1:p.value!=l)),m[e[r]]=!!i;return m}(d),s(),i(l),delete c.addTest,delete c.addAsyncTest;for(var h=0;h