[stable16] Append / to data(path) for folder content request (#17310)

[stable16] Append / to data(path) for folder content request
This commit is contained in:
John Molakvoæ 2019-10-04 18:09:41 +02:00 committed by GitHub
commit f1cee77582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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');