[stable16] Append / to data(path) for folder content request (#17310)
[stable16] Append / to data(path) for folder content request
This commit is contained in:
commit
f1cee77582
|
@ -329,8 +329,8 @@ var OCdialogs = {
|
|||
|
||||
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');
|
||||
|
|
Loading…
Reference in New Issue