Skip to content

Commit

Permalink
[JENKINS-74070] Remove inline script block in `io/jenkins/plugins/git…
Browse files Browse the repository at this point in the history
…labbranchsource/GitLabSCMSource/config-detail.jelly` (#457)
  • Loading branch information
basil authored Nov 8, 2024
1 parent f7281bf commit 9a03496
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,4 @@
<f:invisibleEntry>
<f:number clazz="project-id" field="projectId"/>
</f:invisibleEntry>
<script>
// var projectOwner = document.getElementsByClassName('project-owner');
//
// var projectPath = document.getElementsByClassName('project-path');
//
// projectPath.addEventListener('change', function() {
// var currentPath = projectPath.value;
// for(var i = currentPath.length-1; i >= 0; i--) {
// currentPath = currentPath.substring(0, currentPath.length-1);
// if(currentPath[i] === '/') {
// break;
// }
// }
// projectOwner.item(0).value = currentPath;
// })
</script>
</j:jelly>

0 comments on commit 9a03496

Please sign in to comment.