Append / to data(path) for folder content request

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-09-28 17:28:17 +02:00
parent bac125e201
commit 63a142c47d
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 2 additions and 2 deletions

View File

@ -329,8 +329,8 @@ var OCdialogs = {
if (checkInput()) {
var newname = $input.val();
self.filepicker.filesClient.createDirectory(self.$filePicker.data('path') + "/" + newname).always(function (status) {
self._fillFilePicker(self.$filePicker.data('path') + newname );
self.filepicker.filesClient.createDirectory(self.$filePicker.data('path') + '/' + newname).always(function (status) {
self._fillFilePicker(self.$filePicker.data('path') + '/' + newname );
});
OC.hideMenus();
self.$filePicker.ocdialog('unsetEnterCallback');