diff --git a/apps/fileman/ChangeLog b/apps/fileman/ChangeLog index e914bca72..cc1456b31 100644 --- a/apps/fileman/ChangeLog +++ b/apps/fileman/ChangeLog @@ -1,4 +1,4 @@ 0.01: New app! 0.02: Improve handling of large amounts of files (fix #579) 0.03: Update RegExp use (Was using backreference instead of character code) -0.04: Allow managing files in the app loader + diff --git a/apps/fileman/manage_files.html b/apps/fileman/manage_files.html index 719a188d6..8501d468a 100644 --- a/apps/fileman/manage_files.html +++ b/apps/fileman/manage_files.html @@ -60,9 +60,10 @@ }, deleteFile: function (file) { if(confirm(`Really delete ${file}?`)) { - Puck.eval(`require("Storage").erase("${file}")`); - this.loadFiles(); - this.getStats(); + Puck.eval(`require("Storage").erase("${file}")`, () => { + this.loadFiles(); + this.getStats(); + }); } }, showFile: function (file) {