|
|
@ -68,7 +68,6 @@ class ContractDropdownUI { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
` |
|
|
|
` |
|
|
|
this.selectContractNames.addEventListener('change', this.setInputParamsPlaceHolder.bind(this)) |
|
|
|
this.selectContractNames.addEventListener('change', this.setInputParamsPlaceHolder.bind(this)) |
|
|
|
|
|
|
|
|
|
|
|
this.setInputParamsPlaceHolder() |
|
|
|
this.setInputParamsPlaceHolder() |
|
|
|
return el |
|
|
|
return el |
|
|
|
} |
|
|
|
} |
|
|
@ -89,7 +88,7 @@ class ContractDropdownUI { |
|
|
|
this.orLabel.style.display = 'block' |
|
|
|
this.orLabel.style.display = 'block' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
setInputParamsPlaceHolder () { |
|
|
|
setInputParamsPlaceHolder () { |
|
|
|
this.createPanel.innerHTML = '' |
|
|
|
this.createPanel.innerHTML = '' |
|
|
|
if (this.selectContractNames.selectedIndex < 0 || this.selectContractNames.children.length <= 0) { |
|
|
|
if (this.selectContractNames.selectedIndex < 0 || this.selectContractNames.children.length <= 0) { |
|
|
|