Mirror von
https://github.com/nextcloud/server.git
synchronisiert 2024-08-27 05:55:24 +02:00
2 Zeilen
523 B
JavaScript
2 Zeilen
523 B
JavaScript
btoa(OC.requestToken),window.OCP.Collaboration.registerType("file",{action:()=>new Promise(((i,e)=>{OC.dialogs.filepicker(t("files_sharing","Link to a file"),(function(o){OC.Files.getClient().getFileInfo(o).then(((e,o)=>{i(o.id)})).fail((()=>{e(new Error("Cannot get fileinfo"))}))}),!1,null,!1,OC.dialogs.FILEPICKER_TYPE_CHOOSE,"",{allowDirectoryChooser:!0})})),typeString:t("files_sharing","Link to a file"),typeIconClass:"icon-files-dark"});
|
|
//# sourceMappingURL=files_sharing-collaboration.js.map?v=f799f63870ede0105298
|