Skip to content
Permalink
Browse files

JENKINS-42313

  • Loading branch information...
klimas7 committed Aug 16, 2017
1 parent 2e9752e commit e1403e691a420002219dc884a1086eaafe9d0a6f
@@ -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;

0 comments on commit e1403e6

Please sign in to comment.
You can’t perform that action at this time.