Commit 1e66fd9d authored by yann300's avatar yann300

use custom modal dialog

parent c5fcbc3c
/* 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)
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment