[stable17] Append / to data(path) for folder content request (#17311)
[stable17] Append / to data(path) for folder content request
This commit is contained in:
commit
2809ffa5fe
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* global alert */
|
/* global alert */
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
|
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
|
||||||
*
|
*
|
||||||
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
|
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
|
||||||
|
@ -344,8 +344,8 @@ const Dialogs = {
|
||||||
|
|
||||||
if (checkInput()) {
|
if (checkInput()) {
|
||||||
var newname = $input.val();
|
var newname = $input.val();
|
||||||
self.filepicker.filesClient.createDirectory(self.$filePicker.data('path') + "/" + newname).always(function (status) {
|
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();
|
OC.hideMenus();
|
||||||
self.$filePicker.ocdialog('unsetEnterCallback');
|
self.$filePicker.ocdialog('unsetEnterCallback');
|
||||||
|
|
Loading…
Reference in a new issue