Merge pull request #2298 from urbanrotnik/ur-sci-4230-cannot-create-checklist

Fix empty checklist and dropdown column creation [SCI-4230]
This commit is contained in:
Urban Rotnik 2020-01-15 09:09:17 +01:00 committed by GitHub
commit 2c86c2263d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
selected_delimiter_char = Constants::REPOSITORY_LIST_ITEMS_DELIMITERS_MAP[selected_delimiter.to_sym]
%>
<%= hidden_field_tag 'dropdown-options', '', class: 'dropdown-options' %>
<%= hidden_field_tag 'dropdown-options', '[]', class: 'dropdown-options' %>
<div class="form-group">
<label class="control-label col-sm-3" for="repository-column-data-type">
<%= t('libraries.manange_modal_column.list_type.delimiter_label') %>
@ -32,7 +32,7 @@
>
</select>
<div class="limit-counter-container">
<span class="items-count"></span>
<span class="items-count" data-count="0">0</span>
<span class="items-limit">/<%= Constants::REPOSITORY_CHECKLIST_ITEMS_PER_COLUMN %> </span>
<span class="items-label"></span></div>
</div>

View file

@ -4,7 +4,7 @@
selected_delimiter_char = Constants::REPOSITORY_LIST_ITEMS_DELIMITERS_MAP[selected_delimiter.to_sym]
%>
<%= hidden_field_tag 'dropdown-options', '', class: 'dropdown-options' %>
<%= hidden_field_tag 'dropdown-options', '[]', class: 'dropdown-options' %>
<div class="form-group">
<label class="control-label col-sm-3" for="repository-column-data-type">
<%= t('libraries.manange_modal_column.list_type.delimiter_label') %>
@ -28,7 +28,7 @@
<select class="form-control preview-select">
</select>
<div class="limit-counter-container">
<span class="items-count"></span>
<span class="items-count" data-count="0">0</span>
<span class="items-limit">/<%= Constants::REPOSITORY_LIST_ITEMS_PER_COLUMN %> </span>
<span class="items-label"></span></div>
</div>