pull/3094/head
LianaHus 5 years ago
parent 38726ef706
commit 5c391c0d2e
  1. 3
      src/app/files/fileManager.js

@ -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">

Loading…
Cancel
Save