making an alert on compiler errors - but UI needs help

pull/1/head
Rob Stupay 7 years ago committed by yann300
parent 2b8c6983d8
commit 1c08a844ab
  1. 4
      src/app/tabs/run-tab.js

@ -252,7 +252,11 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
instanceContainer.appendChild(noInstancesText)
appEvents.compiler.register('compilationFinished', function (success, data, source) {
if (success) {
getContractNames(success, data)
} else {
modalDialogCustom.alert('failed to compile')
}
})
var atAddressButtonInput = yo`<input class="${css.input} ataddressinput" placeholder="Enter contract's address - i.e. 0x60606..." title="atAddress" />`

Loading…
Cancel
Save