Skip to content

Commit

Permalink
Fixed issue #18503: Label sets: When adding a label set e.g. at the e…
Browse files Browse the repository at this point in the history
…dit responses screen, the loaded label sets can not be searched (#2796)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
  • Loading branch information
gabrieljenik and lapiudevgit committed Dec 21, 2022
1 parent 8aad2d3 commit 3f37eaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/scripts/admin/questionEditor.js
Expand Up @@ -774,8 +774,7 @@ $(document).on('ready pjax:scriptcomplete', function () {
} else {
$('#current_scale_id').val(scaleId);
}

$('#labelsets').select2();
$('#labelsets').select2({dropdownParent: $("#labelsetbrowserModal")});
$('#labelsetpreview').html('');
$('#labelsetsSelectorContainer').hide();
hideLabelSetAlert();
Expand Down

0 comments on commit 3f37eaf

Please sign in to comment.