Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JENKINS-42313
  • Loading branch information
klimas7 committed Aug 16, 2017
1 parent 2e9752e commit e1403e6
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -73,6 +73,12 @@ var GitParameter = GitParameter || (function($) {
else if (selectedValue == 'DEFAULT' && !isEmpty(_self.getDefaultValue())) {
var defaultValue = _self.getDefaultValue();
console.log("Search default value : " + defaultValue);
for (var i = 0; i < optionsLength; i++ ) {
if (filteredElement.options[i].value == defaultValue) {
filteredElement.options[i].selected = true;
break;
}
}
for (var i = 0; i < optionsLength; i++ ) {
if (filteredElement.options[i].value.indexOf(defaultValue) > -1) {
filteredElement.options[i].selected = true;
Expand Down

0 comments on commit e1403e6

Please sign in to comment.