[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:
Denys Vuika
2018-02-15 09:23:55 +00:00
committed by GitHub
parent 2c1271a5b2
commit 63a146616b
13 changed files with 356 additions and 165 deletions

View File

@@ -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) {