diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-28 17:25:08 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-28 17:25:08 +0200 |
commit | da33d47e69a2981551eccc40996a4a8d36ae6546 (patch) | |
tree | 5ab70a59b13dc11731e5ffed053c300e796b4bf6 /core/src | |
parent | 55c94b2d77831f660c3b0a227b099d3f088a2393 (diff) | |
download | nextcloud-server-da33d47e69a2981551eccc40996a4a8d36ae6546.tar.gz nextcloud-server-da33d47e69a2981551eccc40996a4a8d36ae6546.zip |
Append / to data(path) for folder content request
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/OC/dialogs.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 04bac6d63da..ca472a1e148 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -1,6 +1,6 @@ /* global alert */ -/* +/** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at> @@ -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'); |