Skip to content
Snippets Groups Projects
Commit 8b0d3347 authored by mathias.chouet's avatar mathias.chouet
Browse files

Fix #154

parent fcc233e5
No related branches found
No related tags found
1 merge request!36Resolve "Déplacer la (dé)dérialisation dans JalHyd"
......@@ -75,6 +75,8 @@ export class FormulaireCourbeRemous extends FormulaireDefinition {
this.replaceCurrentNub(sender.properties);
for (const fs of this.allFieldsets) {
fs.setNub(this._currentNub);
// treat the fieldset as new to re-seubscribe to Nub properties change events
this.afterParseFieldset(fs);
}
this.reset();
break;
......
......@@ -394,6 +394,8 @@ export class FormulaireParallelStructure extends FormulaireDefinition {
const props = this.adjustProperties(sender, data["name"], data["value"]);
const newNub = this.replaceNub((sender.nub as Structure), props);
sender.setNub(newNub);
// treat the fieldset as new to re-seubscribe to Nub properties change events
this.afterParseFieldset(sender);
this.reset();
break;
}
......
......@@ -78,6 +78,8 @@ export class FormulaireRegimeUniforme extends FormulaireDefinition implements Ob
this.replaceCurrentNub(sender.properties);
for (const fs of this.allFieldsets) {
fs.setNub(this._currentNub);
// treat the fieldset as new to re-seubscribe to Nub properties change events
this.afterParseFieldset(fs);
}
this.reset();
}
......
......@@ -70,6 +70,8 @@ export class FormulaireSectionParametree extends FormulaireDefinition {
this.replaceCurrentNub(sender.properties);
for (const fs of this.allFieldsets) {
fs.setNub(this._currentNub);
// treat the fieldset as new to re-seubscribe to Nub properties change events
this.afterParseFieldset(fs);
}
this.reset();
break;
......
import { CalculatorType, ComputeNodeType, ParamDefinition, LoiDebit, StructureType,
Props, Observer, Nub, MethodeResolution, ParamCalculability, ParamDomain, ParamDomainValue } from "jalhyd";
import { CalculatorType, ComputeNodeType, ParamDefinition, LoiDebit, StructureType, Props, Observer, Nub, MethodeResolution } from "jalhyd";
import { FormulaireElement } from "./formulaire-element";
import { Field } from "./field";
......
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