catch and discard macos metadata files

This commit is contained in:
ed
2022-10-22 01:15:54 +02:00
parent 138b932c6a
commit 32e826efbc
4 changed files with 30 additions and 2 deletions

View File

@@ -3123,7 +3123,7 @@ var fileman = (function () {
var dst = base + uricom_enc(f[0].inew.value, false);
function rename_cb() {
if (this.status !== 200) {
if (this.status !== 201) {
var msg = this.responseText;
toast.err(9, L.fr_efail + msg);
return;
@@ -3278,7 +3278,7 @@ var fileman = (function () {
xhr.send();
}
function paste_cb() {
if (this.status !== 200) {
if (this.status !== 201) {
var msg = this.responseText;
toast.err(9, L.fp_err + msg);
return;