[ADF-1968] fix packaging issues i18n and assets (#2665)

* fix packaging issues i18n and assets

* remove other not used fodler
This commit is contained in:
Eugenio Romano
2017-11-17 15:08:26 +00:00
committed by GitHub
parent 1021cba9fc
commit a8e209c5b5
14 changed files with 99 additions and 191 deletions

View File

@@ -16,7 +16,7 @@
*/
import { Component, Inject, OnInit } from '@angular/core';
import { FormModel, FormService, LogService } from '@alfresco/adf-core';
import { FormModel, FormService } from '@alfresco/adf-core';
import { InMemoryFormService } from '../../services/in-memory-form.service';
import { DemoForm } from './demo-form';
@@ -32,12 +32,8 @@ export class FormComponent implements OnInit {
form: FormModel;
constructor(@Inject(FormService) private formService: InMemoryFormService, private logSevice: LogService) {
// Prevent default outcome actions
formService.executeOutcome.subscribe(e => {
e.preventDefault();
this.logSevice.log(e.outcome);
});
constructor(@Inject(FormService) private formService: InMemoryFormService) {
}
ngOnInit() {