Skip to content
Snippets Groups Projects
Commit 4ab3ad4c authored by Mathias Chouet's avatar Mathias Chouet
Browse files

Fix methods visibility

parent c2ec47bd
No related branches found
No related tags found
No related merge requests found
......@@ -445,7 +445,7 @@ export class AppComponent implements OnInit, OnDestroy, Observer {
// interface Observer
update(sender: any, data: any): void {
public update(sender: any, data: any): void {
if (sender instanceof FormulaireService) {
switch (data["action"]) {
case "createForm":
......
......@@ -236,14 +236,14 @@ export class CalculatorListComponent implements OnInit {
// interface Observer
update(sender: any, data: any): void {
public update(sender: any, data: any): void {
if (sender instanceof I18nService) {
// reload themes if language changed
this.loadCalculatorsThemes();
}
}
ngOnInit() {
public ngOnInit() {
this.loadCalculatorsThemes();
}
}
......@@ -6,7 +6,7 @@ import { IObservable, Session, SectionNub } from "jalhyd";
export class FormulaireSection extends FormulaireFixedVar {
update(sender: IObservable, data: any) {
public update(sender: IObservable, data: any) {
super.update(sender, data);
// changement de propriété du FieldSet contenant le select de choix du type de section
if (sender instanceof FieldSet && sender.id === "fs_section" && data.action === "propertyChange") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment