Skip to content

Commit

Permalink
Fix autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
optimlab committed Feb 7, 2022
1 parent b990b27 commit 2fa672b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ $('input[name*=\'informations\']').autocomplete({
$('#' + $(this).next().next().attr('id') + item['value']).remove();
$(this).next().next().append('<div id="' + $(this).next().next().attr('id') + item['value'] + '"><i class="fa fa-minus-circle"></i> ' + item['label'] + '<input type="hidden" name="' + $(this).next().next().attr('id').replace(/-/g, '_') + '[]" value="' + item['value'] + '" /></div>');
$(this).next().next().append('<div id="' + $(this).next().next().attr('id') + item['value'] + '"><i class="fa fa-minus-circle"></i> ' + item['label'] + '<input type="hidden" name="module_optimblog_' + $(this).next().next().attr('id').replace(/-/g, '_') + '[]" value="' + item['value'] + '" /></div>');
}
});
Expand All @@ -994,7 +994,7 @@ $('input[name*=\'categories\']').autocomplete({
$('#' + $(this).next().next().attr('id') + item['value']).remove();
$(this).next().next().append('<div id="' + $(this).next().next().attr('id') + item['value'] + '"><i class="fa fa-minus-circle"></i> ' + item['label'] + '<input type="hidden" name="' + $(this).next().next().attr('id').replace(/-/g, '_') + '[]" value="' + item['value'] + '" /></div>');
$(this).next().next().append('<div id="' + $(this).next().next().attr('id') + item['value'] + '"><i class="fa fa-minus-circle"></i> ' + item['label'] + '<input type="hidden" name="module_optimblog_' + $(this).next().next().attr('id').replace(/-/g, '_') + '[]" value="' + item['value'] + '" /></div>');
}
});
Expand Down

0 comments on commit 2fa672b

Please sign in to comment.