Unverified Commit 67c15b2c authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2259 from ethereum/yann300-patch-64

Use addTooltip instead of alert
parents 2b48c31c 5b67b80f
......@@ -182,15 +182,13 @@ class SettingsUI {
modal.hide()
modalDialogCustom.prompt('External node request', 'Web3 Provider Endpoint', 'http://localhost:8545', (target) => {
this.settings.setProviderFromEndpoint(target, context, (alertMsg) => {
if (alertMsg) {
modalDialogCustom.alert(alertMsg)
}
if (alertMsg) addTooltip(alertMsg)
this.setFinalContext()
})
}, this.setFinalContext.bind(this))
}, this.setFinalContext.bind(this))
}, (alertMsg) => {
modalDialogCustom.alert(alertMsg)
addTooltip(alertMsg)
}, this.setFinalContext.bind(this))
})
......
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