|
|
@ -74,15 +74,15 @@ function fileExplorer (localRegistry, files, menuItems) { |
|
|
|
if (this.files.isReadOnly(path)) return self._deps.editor.setText(file.content) |
|
|
|
if (this.files.isReadOnly(path)) return self._deps.editor.setText(file.content) |
|
|
|
|
|
|
|
|
|
|
|
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: () => {} |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|