mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
Bugfix for place selection when creating an event #567
This commit is contained in:
parent
60d3e03dac
commit
e27f21a78b
@ -820,9 +820,9 @@
|
|||||||
$(this).val(null).trigger('change');
|
$(this).val(null).trigger('change');
|
||||||
var location_only = $(this).attr("data-location-only");
|
var location_only = $(this).attr("data-location-only");
|
||||||
if (location_only) {
|
if (location_only) {
|
||||||
reset_location_form();
|
reset_location_form("{{ target_prefix }}");
|
||||||
} else {
|
} else {
|
||||||
reset_place_form();
|
reset_place_form("{{ target_prefix }}");
|
||||||
$('#place-name').val(data.main_text);
|
$('#place-name').val(data.main_text);
|
||||||
if ($('#place-name').length > 0 && $.isFunction($('#place-name').valid)) {
|
if ($('#place-name').length > 0 && $.isFunction($('#place-name').valid)) {
|
||||||
$('#place-name').valid();
|
$('#place-name').valid();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user