fix error handling and "this" context (#1445)

* fix error handling and "this" context

* fix typo
This commit is contained in:
Denys Vuika
2017-01-12 14:12:52 +00:00
committed by Vito
parent dd6baed74b
commit 0ee5c9846a
17 changed files with 83 additions and 82 deletions

View File

@@ -61,7 +61,7 @@ export class DropdownWidget extends WidgetComponent implements OnInit {
this.field.options = options.concat((result || []));
this.field.updateForm();
},
this.handleError
err => this.handleError(err)
);
}
@@ -80,7 +80,7 @@ export class DropdownWidget extends WidgetComponent implements OnInit {
this.field.options = options.concat((result || []));
this.field.updateForm();
},
this.handleError
err => this.handleError(err)
);
}