Update compile-tab.js

pull/1/head
yann300 6 years ago committed by GitHub
parent 7d0431df00
commit 7a958b3dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/tabs/compile-tab.js

@ -371,7 +371,7 @@ module.exports = class CompileTab {
if (selectContractNames.children.length > 0 && selectContractNames.selectedIndex >= 0) { if (selectContractNames.children.length > 0 && selectContractNames.selectedIndex >= 0) {
var contract = self.data.contractsDetails[selectContractNames.children[selectContractNames.selectedIndex].innerHTML] var contract = self.data.contractsDetails[selectContractNames.children[selectContractNames.selectedIndex].innerHTML]
if (contract.metadata === undefined || contract.metadata.length === 0) { if (contract.metadata === undefined || contract.metadata.length === 0) {
modalDialogCustom.alert('This contract may be abstract, not implement an abstract parent\'s methods completely or not invoke an inherited contract\'s constructor correctly.') modalDialogCustom.alert('This contract may be abstract, may not implement an abstract parent\'s methods completely or not invoke an inherited contract\'s constructor correctly.')
} else { } else {
publishOnSwarm(contract, self._deps.fileManager, function (err, uploaded) { publishOnSwarm(contract, self._deps.fileManager, function (err, uploaded) {
if (err) { if (err) {

Loading…
Cancel
Save