mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
Fix escape issue in dropdowns
This commit is contained in:
parent
183f5af7de
commit
f7a215c953
1 changed files with 1 additions and 2 deletions
|
@ -632,11 +632,10 @@ var dropdownSelector = (function() {
|
|||
title="${$('<span>' + label + '</span>').text()}"
|
||||
data-ds-tag-group="${data.group}"
|
||||
data-ds-tag-id="${data.value}">
|
||||
${label}
|
||||
</div>
|
||||
<i class="fas fa-times ${selector.data('config').singleSelect ? 'hidden' : ''}"></i>
|
||||
</div>`).insertBefore(container.find('.input-field .search-field'));
|
||||
|
||||
tag.find('.tag-label').text(label);
|
||||
// Now we need add delete action to tag
|
||||
tag.find('.fa-times').click(function(e) {
|
||||
var tagLabel = $(this).prev();
|
||||
|
|
Loading…
Reference in a new issue