Unverified Commit 535b54b1 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2178 from ethereum/yann300-patch-54

[remixd] when file change and click is outside of the modal, the file…
parents e204bbb2 65af989a
...@@ -75,14 +75,14 @@ function fileExplorer (localRegistry, files, menuItems) { ...@@ -75,14 +75,14 @@ function fileExplorer (localRegistry, files, menuItems) {
modalDialog(path + ' changed', remixdDialog(), modalDialog(path + ' changed', remixdDialog(),
{ {
label: 'Keep the content displayed in Remix',
fn: () => {}
},
{
label: 'Replace by the new content', label: 'Replace by the new content',
fn: () => { fn: () => {
self._deps.editor.setText(file.content) self._deps.editor.setText(file.content)
} }
},
{
label: 'Keep the content displayed in Remix',
fn: () => {}
} }
) )
} }
......
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