[ADF-523] Fix delete operation in the search component (#2020)

* Search delete permission notification fix

* Support content deletion inside search results

* Forgotten broken test fix.

* Update alfresco-document-list READDME.md

* Update alfresco-document-list READDME.md II

* Adding TOC to README.md

* Build fix

* Fix the build for now and ever!
This commit is contained in:
Popovics András
2017-07-06 09:45:03 +01:00
committed by Eugenio Romano
parent ee871ba578
commit 843afdbcc6
14 changed files with 214 additions and 46 deletions

View File

@@ -77,11 +77,11 @@ export class ContentActionComponent implements OnInit, OnChanges {
if (this.handler) {
this.model.handler = this.getSystemHandler(this.target, this.handler);
} else if (this.execute) {
this.model.handler = (document: any): void => {
this.execute.emit({
value: document
});
}
if (this.execute) {
this.model.execute = (value: any): void => {
this.execute.emit({ value });
};
}
@@ -106,6 +106,9 @@ export class ContentActionComponent implements OnInit, OnChanges {
if (ltarget === 'document') {
if (this.documentActions) {
this.documentActions.permissionEvent.subscribe((permision) => {
this.permissionEvent.emit(permision);
});
return this.documentActions.getHandler(name);
}
return null;