diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 04bac6d63d..ca472a1e14 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -1,6 +1,6 @@ /* global alert */ -/* +/** * @copyright 2019 Christoph Wurst * * @author 2019 Christoph Wurst @@ -344,8 +344,8 @@ 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.filepicker.filesClient.createDirectory(self.$filePicker.data('path') + '/' + newname).always(function (status) { + self._fillFilePicker(self.$filePicker.data('path') + '/' + newname); }); OC.hideMenus(); self.$filePicker.ocdialog('unsetEnterCallback');