diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 6622c5c1..87f96954 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -8985,6 +8985,13 @@ var msel = (function () { return; } + if (this.status == 405) { + tb.value = ''; + sf.textContent = 'already existed'; + treectl.goto(this.vp + uricom_enc(this.dn) + '/', true); + return tree_scrollto(); + } + xhrchk(this, L.fd_xe1, L.fd_xe2); if (this.status !== 201) {