Skip to content

Commit

Permalink
Merge pull request #5 from raul-arabaolaza/JENKINS-37276
Browse files Browse the repository at this point in the history
[JENKINS-37276] Path atributes can change values if reordered
  • Loading branch information
olivergondza committed Oct 20, 2016
2 parents ae588b0 + 4842bdf commit 5802068
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.parentNode.className && v.parentNode.className.indexOf("one-each")>-1 && v.parentNode.className.indexOf("honor-order")>-1) {
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 5802068

Please sign in to comment.