|
|
|
@ -135,9 +135,9 @@ class FileManager extends FileSystemApi { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async setFile (path, content) { |
|
|
|
|
if (this.currentRequest) { |
|
|
|
|
let reject = false |
|
|
|
|
let saveAsCopy = false |
|
|
|
|
|
|
|
|
|
function acceptFileRewriting (e, toaster) { |
|
|
|
|
reject = false |
|
|
|
|
e.target.innerHTML = 'Accepted' |
|
|
|
@ -157,6 +157,7 @@ class FileManager extends FileSystemApi { |
|
|
|
|
e.target.innerHTML = 'Saved' |
|
|
|
|
toaster.hide() |
|
|
|
|
} |
|
|
|
|
if (this.currentRequest) { |
|
|
|
|
let actions = (toaster) => { |
|
|
|
|
return yo` |
|
|
|
|
<div class="container ml-1"> |
|
|
|
|