From 9a9a400287976eb04e14645649d4c7b089c24d56 Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Mon, 12 Aug 2019 10:58:30 +0200 Subject: [PATCH] fix modal dialog for provider --- src/app/tabs/runTab/settings.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/tabs/runTab/settings.js b/src/app/tabs/runTab/settings.js index 2762657819..df7ebca5d9 100644 --- a/src/app/tabs/runTab/settings.js +++ b/src/app/tabs/runTab/settings.js @@ -178,7 +178,8 @@ class SettingsUI { selectExEnv.addEventListener('change', (event) => { let context = selectExEnv.options[selectExEnv.selectedIndex].value this.settings.changeExecutionContext(context, () => { - modalDialogCustom.confirm('External node request', 'Are you sure you want to connect to an ethereum node?', () => { + const modal = modalDialogCustom.confirm('External node request', 'Are you sure you want to connect to an ethereum node?', () => { + modal.hide() modalDialogCustom.prompt('External node request', 'Web3 Provider Endpoint', 'http://localhost:8545', (target) => { this.settings.setProviderFromEndpoint(target, context, (alertMsg) => { if (alertMsg) {