Merge pull request #2341 from nextcloud/filepicker-public-share
use public share fileclient when available
This commit is contained in:
commit
518e2edba4
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ var OCdialogs = {
|
|||
return;
|
||||
}
|
||||
this.filepicker.loading = true;
|
||||
this.filepicker.filesClient = OC.Files.getClient();
|
||||
this.filepicker.filesClient = (OCA.Sharing && OCA.Sharing.PublicApp && OCA.Sharing.PublicApp.fileList)? OCA.Sharing.PublicApp.fileList.filesClient: OC.Files.getClient();
|
||||
$.when(this._getFilePickerTemplate()).then(function($tmpl) {
|
||||
self.filepicker.loading = false;
|
||||
var dialogName = 'oc-dialog-filepicker-content';
|
||||
|
|
Loading…
Reference in a new issue