The select2 tags is now correctly link to related label
This commit is contained in:
parent
ad023d367f
commit
f70d2ae5ef
@ -15,3 +15,6 @@ $(document).ready ->
|
|||||||
$('#event_end_time').change ->
|
$('#event_end_time').change ->
|
||||||
if $('#event_start_time').val() >= $('#event_end_time').val()
|
if $('#event_start_time').val() >= $('#event_end_time').val()
|
||||||
$('#event_start_time').val($('#event_end_time').val())
|
$('#event_start_time').val($('#event_end_time').val())
|
||||||
|
|
||||||
|
# Manage the tags label so it points the proper select2 input
|
||||||
|
$('label[for=event_tags]').attr 'for', 's2id_autogen1'
|
||||||
|
Loading…
Reference in New Issue
Block a user