Skip to content
Permalink
Browse files

Merge pull request #49 from jenkinsci/feature/JENKINS-42313

JENKINS-42313
  • Loading branch information...
klimas7 committed Aug 17, 2017
2 parents f8e628c + e1403e6 commit 0910a87e77fa20733360410ce59d584669b415e7
@@ -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 0910a87

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