Skip to content

Commit

Permalink
Extract event handlers in
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomomdahan committed Oct 30, 2024
1 parent b5ccdd4 commit 85dcb4b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
Behaviour.specify(".bpp-trigger-pipeline-parameterized", 'BuildPipelineView.TriggerPipelineParameterized', 0, function(element) {
element.addEventListener('click', function() {

const paramsElement = element.previousElementSibling;
const href = paramsElement.dataset.fillDialogHref;
const title = paramsElement.dataset.fillDialogTitle;

buildPipeline.fillDialog(href, title);

});
});

Expand Down

0 comments on commit 85dcb4b

Please sign in to comment.