1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00

Migrate document attachments view to new UI framework

This commit is contained in:
sauls8t 2018-12-19 12:41:36 +00:00
parent 7cdf97aa86
commit 3d2060ca60
9 changed files with 148 additions and 9 deletions

View file

@ -356,7 +356,7 @@ export default Service.extend({
},
//**************************************************
// Export
// Export content to HTML
//**************************************************
export(spec) {
@ -367,6 +367,14 @@ export default Service.extend({
});
},
//**************************************************
// Secure document attachment download
//**************************************************
downloadAttachment(fileId) {
return this.get('ajax').get(`attachment/${fileId}`, {});
},
//**************************************************
// Fetch bulk data
//**************************************************