Skip to content

Commit 9a03496

Browse files
authored
[JENKINS-74070] Remove inline script block in io/jenkins/plugins/gitlabbranchsource/GitLabSCMSource/config-detail.jelly (#457)
1 parent f7281bf commit 9a03496

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/main/resources/io/jenkins/plugins/gitlabbranchsource/GitLabSCMSource/config-detail.jelly

-16
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,4 @@
1919
<f:invisibleEntry>
2020
<f:number clazz="project-id" field="projectId"/>
2121
</f:invisibleEntry>
22-
<script>
23-
// var projectOwner = document.getElementsByClassName('project-owner');
24-
//
25-
// var projectPath = document.getElementsByClassName('project-path');
26-
//
27-
// projectPath.addEventListener('change', function() {
28-
// var currentPath = projectPath.value;
29-
// for(var i = currentPath.length-1; i >= 0; i--) {
30-
// currentPath = currentPath.substring(0, currentPath.length-1);
31-
// if(currentPath[i] === '/') {
32-
// break;
33-
// }
34-
// }
35-
// projectOwner.item(0).value = currentPath;
36-
// })
37-
</script>
3822
</j:jelly>

0 commit comments

Comments
 (0)