use custom modal dialog

pull/1/head
yann300 7 years ago
parent c5fcbc3cd5
commit 1e66fd9d70
  1. 3
      src/app/tabs/run-tab.js

@ -1,5 +1,6 @@
/* global alert */
var $ = require('jquery')
var modalDialogCustom = require('../ui/modal-dialog-custom')
var yo = require('yo-yo')
var helper = require('../../lib/helper.js')
@ -265,7 +266,7 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
instanceContainer.appendChild(appAPI.udapp().renderInstance(contract, address, selectContractNames.value))
})
} else {
alert(error)
modalDialogCustom.alert(error)
}
})
}

Loading…
Cancel
Save