зеркало из https://github.com/nextcloud/server.git
Merge pull request #2341 from nextcloud/filepicker-public-share
use public share fileclient when available
This commit is contained in:
Коммит
518e2edba4
|
@ -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';
|
||||
|
|
Загрузка…
Ссылка в новой задаче