Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-37276] Generate the path for publishers using descriptorID
  • Loading branch information
raul-arabaolaza committed Oct 11, 2016
1 parent ae588b0 commit 3c17b50
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -165,7 +165,9 @@ Behaviour.addLoadEvent(function(){
function child(v,i) {
var suffix=null;
var newKey=key;
if (v.getAttribute("type")=="radio"){
if (v.getAttribute("name")=="publisher") {
suffix = v.getAttribute("descriptorId").split(".").pop()
} else if (v.getAttribute("type")=="radio"){
suffix = v.value
while (newKey.substring(0,8)=='removeme')
newKey = newKey.substring(newKey.indexOf('_',8)+1);
Expand Down

0 comments on commit 3c17b50

Please sign in to comment.