Merge pull request #25932 from nextcloud/bugfix/noid/fix-fed-share-add-to-nc
Skip empty obsolete owner when adding to own NC
This commit is contained in:
commit
c7c5150ddb
|
@ -99,7 +99,7 @@
|
||||||
var fileList = this.filesApp.fileList;
|
var fileList = this.filesApp.fileList;
|
||||||
var params = OC.Util.History.parseUrlQuery();
|
var params = OC.Util.History.parseUrlQuery();
|
||||||
// manually add server-to-server share
|
// manually add server-to-server share
|
||||||
if (params.remote && params.token && params.owner && params.name) {
|
if (params.remote && params.token && params.name) {
|
||||||
|
|
||||||
var callbackAddShare = function(result, share) {
|
var callbackAddShare = function(result, share) {
|
||||||
var password = share.password || '';
|
var password = share.password || '';
|
||||||
|
|
Loading…
Reference in New Issue