Skip to content

Commit

Permalink
Snippets and Library dropdowns not working for multiple (#2156)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurofmferrao authored Oct 16, 2023
1 parent d7ea055 commit 6a86718
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions modules/calendar-form-edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@
<div class="ckeditor_controls row inline-editor-hide container-fluid" data-linked-to="template">
<div class="col-sm-6">
<div class="form-group row">
<label class="col-sm-4 control-label" for="ckeditor_snippets_select">{% trans "Snippets" %}</label>
<label class="col-sm-4 control-label" for="ckeditor_snippets_select_template">{% trans "Snippets" %}</label>
<div class="col-sm-8 ckeditor_select_container">
<select id="ckeditor_snippets_select"
<select id="ckeditor_snippets_select_template"
class="ckeditor_snippets_select form-control"
data-linked-to="template">
<option value=""></option>
Expand All @@ -262,9 +262,9 @@
</div>
<div class="col-sm-6">
<div class="form-group row">
<label class="col-sm-4 control-label" for="ckeditor_library_select2">{% trans "Library" %}</label>
<label class="col-sm-4 control-label" for="ckeditor_library_select1">{% trans "Library" %}</label>
<div class="col-sm-8 ckeditor_select_container">
<select id="ckeditor_library_select2"
<select id="ckeditor_library_select1"
class="ckeditor_library_select form-control"
data-width="100%"
data-linked-to="template"
Expand Down Expand Up @@ -313,9 +313,9 @@
<div class="ckeditor_controls row current-event-template" data-linked-to="currentEventTemplate">
<div class="col-sm-6">
<div class="form-group row">
<label class="col-sm-4 control-label" for="ckeditor_snippets_select">{% trans "Snippets" %}</label>
<label class="col-sm-4 control-label" for="ckeditor_snippets_select_current">{% trans "Snippets" %}</label>
<div class="col-sm-8 ckeditor_select_container">
<select id="ckeditor_snippets_select"
<select id="ckeditor_snippets_select_current"
class="ckeditor_snippets_select form-control"
data-linked-to="currentEventTemplate">
<option value=""></option>
Expand Down
12 changes: 6 additions & 6 deletions modules/forecastio-form-edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@

<div class="ckeditor_controls inline-editor-hide container-fluid" data-linked-to="currentTemplate">
<div class="form-group row localSelect">
<label class="col-sm-2 control-label" for="ckeditor_snippets_select">{% trans "Snippets" %}</label>
<label class="col-sm-2 control-label" for="ckeditor_snippets_select_current">{% trans "Snippets" %}</label>
<div class="col-sm-10 ckeditor_select_container weather-type-targets">
{% set weatherSnippets = module.getWeatherSnippets() %}

<select id="ckeditor_snippets_select"
<select id="ckeditor_snippets_select_current"
class="ckeditor_snippets_select form-control"
data-linked-to="currentTemplate"
data-filter-class="">
Expand Down Expand Up @@ -315,15 +315,15 @@
<h4 class="col-12 text-left">{% trans "Daily Forecast Template" %}</h4>
</div>

<div class="ckeditor_controls inline-editor-hide container-fluid" data-linked-to="currentTemplate">
<div class="ckeditor_controls inline-editor-hide container-fluid" data-linked-to="dailyTemplate">
<div class="form-group row localSelect">
<label class="col-sm-2 control-label" for="ckeditor_snippets_select">{% trans "Snippets" %}</label>
<label class="col-sm-2 control-label" for="ckeditor_snippets_select_daily">{% trans "Snippets" %}</label>
<div class="col-sm-10 ckeditor_select_container weather-type-targets">
{% set weatherSnippets = module.getWeatherSnippets() %}

<select id="ckeditor_snippets_select"
<select id="ckeditor_snippets_select_daily"
class="ckeditor_snippets_select form-control"
data-linked-to="currentTemplate"
data-linked-to="dailyTemplate"
data-filter-class="">
<option value=""></option>

Expand Down
2 changes: 1 addition & 1 deletion modules/xibo-calendar-render.js.map

Large diffs are not rendered by default.

0 comments on commit 6a86718

Please sign in to comment.