mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #54192 from nextcloud/fix-federated-sharing-bug
This commit is contained in:
commit
e8fbb0dfa5
3 changed files with 5 additions and 4 deletions
|
|
@ -35,7 +35,8 @@ window.OCA.Sharing.showAddExternalDialog = function(share, passwordProtected, ca
|
|||
.replace(/\/$/, '') // remove trailing slash
|
||||
|
||||
showRemoteShareDialog(name, owner, remote, passwordProtected)
|
||||
.then((result, password) => callback(result, { ...share, password }))
|
||||
// eslint-disable-next-line n/no-callback-literal
|
||||
.then((password) => callback(true, { ...share, password }))
|
||||
// eslint-disable-next-line n/no-callback-literal
|
||||
.catch(() => callback(false, share))
|
||||
}
|
||||
|
|
|
|||
4
dist/federatedfilesharing-external.js
vendored
4
dist/federatedfilesharing-external.js
vendored
File diff suppressed because one or more lines are too long
2
dist/federatedfilesharing-external.js.map
vendored
2
dist/federatedfilesharing-external.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue