mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
js: mkdir: cd if existed; closes #1512
This commit is contained in:
parent
5beecd6622
commit
5dbff4af41
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue