1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00
This commit is contained in:
HarveyKandola 2018-07-28 11:43:45 -04:00
parent 743eae5aad
commit d0970c153b
8 changed files with 287 additions and 8 deletions

View file

@ -355,6 +355,18 @@ export default Service.extend({
});
},
//**************************************************
// Export
//**************************************************
export(spec) {
return this.get('ajax').post('export', {
data: JSON.stringify(spec),
contentType: 'json',
dataType: 'text/html'
});
},
//**************************************************
// Fetch bulk data
//**************************************************