Fix namespace check

This commit is contained in:
nathangray 2020-02-11 15:19:33 -07:00
parent 2ed6c162f2
commit 77722eb0d5
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ var et2_valueWidget = /** @class */ (function (_super) {
}
}
// Check for already inside namespace
if (this.createNamespace && this.getArrayMgr("content").perspectiveData.owner == this) {
if (this._createNamespace() && this.getArrayMgr("content").perspectiveData.owner == this) {
_attrs["value"] = this.getArrayMgr("content").data;
}
}

View File

@ -75,7 +75,7 @@ export class et2_valueWidget extends et2_baseWidget
}
}
// Check for already inside namespace
if(this.createNamespace && this.getArrayMgr("content").perspectiveData.owner == this)
if(this._createNamespace() && this.getArrayMgr("content").perspectiveData.owner == this)
{
_attrs["value"] = this.getArrayMgr("content").data;
}