clean all the events that start wit on prefix (#2536)

This commit is contained in:
Eugenio Romano
2017-10-25 09:35:38 +01:00
committed by Maurizio Vitale
parent b2414781d4
commit ded3847762
169 changed files with 705 additions and 749 deletions

View File

@@ -25,7 +25,7 @@ import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable';
* [contextRoot]="string"
* [servicePath]="string"
* [contentType]="JSON|HTML|DATATABLE"
* (onSuccess)="customMethod($event)>
* (success)="customMethod($event)>
* </adf-webscript-get>
*
* This component, provide a get webscript viewer
@@ -36,7 +36,7 @@ import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable';
* @InputParam {string} servicePath path where Web Script service is mapped default value 'service'
* @InputParam {string} contentType JSON | HTML | DATATABLE | TEXT
*
* @Output - onSuccess - The event is emitted when the data are recived
* @Output - success - The event is emitted when the data are recived
*
* @returns {WebscriptComponent} .
*/
@@ -65,7 +65,7 @@ export class WebscriptComponent implements OnChanges {
contentType: string = 'TEXT';
@Output()
onSuccess = new EventEmitter();
success = new EventEmitter();
data: any = undefined;
showError: boolean = false;
@@ -90,7 +90,7 @@ export class WebscriptComponent implements OnChanges {
}
}
this.onSuccess.emit(this.data);
this.success.emit(this.data);
resolve();
}, (error) => {