mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2161] download directive (#2934)
* node download directive * integrate with demo shell * docs on the directive * node actions integration * test fixes * remove old and disable invalid tests * remove fdescribe * fix unit tests
This commit is contained in:
@@ -79,6 +79,11 @@ export class FolderActionsService {
|
||||
this.handlers['copy'] = this.copyNode.bind(this);
|
||||
this.handlers['move'] = this.moveNode.bind(this);
|
||||
this.handlers['delete'] = this.deleteNode.bind(this);
|
||||
this.handlers['download'] = this.downloadNode.bind(this);
|
||||
}
|
||||
|
||||
private downloadNode(obj: MinimalNodeEntity, target?: any, permission?: string) {
|
||||
this.nodeActionsService.downloadNode(obj);
|
||||
}
|
||||
|
||||
private copyNode(obj: MinimalNodeEntity, target?: any, permission?: string) {
|
||||
|
Reference in New Issue
Block a user