Append / to data('path') for folder content request (#17285)
Append / to data('path') for folder content request
This commit is contained in:
commit
51b83988e4
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
|
@ -345,7 +345,7 @@ 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 New Issue