Closes: https://github.com/dom111/webdav-js/issues/56
@@ -33,7 +33,7 @@ export default class Footer extends Element {
return;
}
- this.trigger('create-directory', joinPath(location.pathname, directoryName), directoryName, location.pathname);
+ this.trigger('create-directory', joinPath(location.pathname, directoryName) + '/', directoryName, location.pathname);
});