mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
Merge pull request #13889 from nextcloud/backport/13883/stable13
[stable13] Fix dropping a folder on a folder row
This commit is contained in:
commit
9b96db49be
1 changed files with 3 additions and 1 deletions
|
|
@ -516,7 +516,9 @@ OC.Uploader.prototype = _.extend({
|
|||
self.filesClient.createDirectory(fullPath).always(function(status) {
|
||||
// 405 is expected if the folder already exists
|
||||
if ((status >= 200 && status < 300) || status === 405) {
|
||||
self.trigger('createdfolder', fullPath);
|
||||
if (status !== 405) {
|
||||
self.trigger('createdfolder', fullPath);
|
||||
}
|
||||
deferred.resolve();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue