Append / to data('path') for folder content request (#17285)

Append / to data('path') for folder content request
This commit is contained in:
John Molakvoæ 2019-09-28 17:16:22 +02:00 committed by GitHub
commit 51b83988e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -345,7 +345,7 @@ const Dialogs = {
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._fillFilePicker(self.$filePicker.data('path') + "/" + newname);
});
OC.hideMenus();
self.$filePicker.ocdialog('unsetEnterCallback');