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

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
Daniel Kesselberg 2019-09-26 17:21:38 +02:00 committed by npmbuildbot[bot]
parent aa80aa412f
commit 90e22c25f1
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');