js: mkdir: cd if existed; closes #1512

This commit is contained in:
ed 2026-06-13 11:45:21 +00:00
parent 5beecd6622
commit 5dbff4af41

View file

@ -8985,6 +8985,13 @@ var msel = (function () {
return; 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); xhrchk(this, L.fd_xe1, L.fd_xe2);
if (this.status !== 201) { if (this.status !== 201) {