Skip to content

Commit

Permalink
Merge 6780998 into abbd3d4
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsymhoven committed May 18, 2021
2 parents abbd3d4 + 6780998 commit a4b85d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/webapp/js/pull-request-monitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,15 @@

}

/**
* Reset the the visibility of input.
*/
function resetInput() {
$('#monitor option').each(function () {
$(this).removeAttr('disabled');
})
}

/**
* Removes an element from grid.
* @param e
Expand Down Expand Up @@ -466,6 +475,7 @@
run.resetMonitorConfiguration(function() {
run.getConfiguration(function(config) {
configuration = JSON.parse(config.responseJSON);
resetInput();
loadGrid();
updateConfig();
});
Expand Down

0 comments on commit a4b85d1

Please sign in to comment.