Skip to content

Commit

Permalink
Merge pull request #19772 from phillip-kruger/dev-ui-config-filter-fix
Browse files Browse the repository at this point in the history
Fix DevUI logstream that register listener on all select elements
  • Loading branch information
gsmet authored Aug 30, 2021
2 parents 0f7986e + 2e6fb15 commit d6a20dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ function populateLoggerLevelModal(loggerNamesArray, levelNamesArray){
tbodyLevels.append(row);
}

$('select').on('change', function() {
$('.logleveldropdown').on('change', function() {
changeLogLevel(this.value, $(this).find('option:selected').text());
});

Expand Down Expand Up @@ -764,7 +764,7 @@ function getTextClass(level){

function createDropdown(name, level, levelNamesArray){

var dd = "<select class='custom-select custom-select-sm'>";
var dd = "<select class='logleveldropdown custom-select custom-select-sm'>";
// Populate the dropdown
for (var i = 0; i < levelNamesArray.length; i++) {
var selected = "";
Expand Down

0 comments on commit d6a20dc

Please sign in to comment.