|
|
@@ -1850,6 +1850,8 @@ class CalcProgram {
|
|
|
saveNodes(treeNodes, callback){
|
|
|
if (treeNodes.length < 1) {
|
|
|
$.bootstrapLoading.end();
|
|
|
+ this.rationMap = null;
|
|
|
+ this.pgljMap = null;
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
@@ -2163,6 +2165,7 @@ class CalcProgram {
|
|
|
} else{
|
|
|
if(!this.rationMap) return [];
|
|
|
let result = this.rationMap[ration.ID];
|
|
|
+ if(!result) return [];
|
|
|
result = gljOprObj.combineWithProjectGlj(result,false,ration,this.pgljMap);
|
|
|
return result;
|
|
|
}
|