mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 07:26:15 +08:00
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:
commit
2c86c2263d
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue