mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
Merge pull request #525 from eventcally/issues/524
Planning: Input for nearby filter not working in modal #524
This commit is contained in:
commit
e8b32b0d8f
@ -858,12 +858,15 @@
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro render_google_filter_autocomplete_header() %}
|
||||
{% macro render_google_filter_autocomplete_header(dropdownParent=None) %}
|
||||
<script>
|
||||
$( function() {
|
||||
|
||||
$('#location').select2({
|
||||
theme: 'bootstrap4',
|
||||
{% if dropdownParent -%}
|
||||
dropdownParent: {{ dropdownParent | safe }},
|
||||
{%- endif %}
|
||||
ajax: {
|
||||
url: "{{ url_for('js_autocomplete_place') }}",
|
||||
dataType: 'json',
|
||||
|
||||
@ -48,7 +48,7 @@ vue_init_data.vuetify = new Vuetify();
|
||||
|
||||
{% block header %}
|
||||
{{ render_jquery_steps_header() }}
|
||||
{{ render_google_filter_autocomplete_header() }}
|
||||
{{ render_google_filter_autocomplete_header(dropdownParent="$('#filterFormModal')") }}
|
||||
<script>
|
||||
|
||||
$( function() {
|
||||
|
||||
@ -30,7 +30,7 @@ click-repl==0.2.0
|
||||
colour==0.1.5
|
||||
coverage==5.5
|
||||
coveralls==3.3.1
|
||||
cryptography==41.0.0
|
||||
cryptography==41.0.2
|
||||
decorator==5.1.0
|
||||
distlib==0.3.6
|
||||
dnspython==2.0.0
|
||||
@ -111,7 +111,7 @@ python-dotenv==0.15.0
|
||||
python-editor==1.0.4
|
||||
pytoolconfig==1.2.5
|
||||
pytz==2022.7.1
|
||||
PyYAML==5.4.1
|
||||
PyYAML==6.0.1
|
||||
qrcode==6.1
|
||||
redis==4.5.4
|
||||
regex==2023.3.23
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user