diff --git a/src/widget/dynamicdate/dynamicdate.card.js b/src/widget/dynamicdate/dynamicdate.card.js index 259e6df515..18fad75cfc 100644 --- a/src/widget/dynamicdate/dynamicdate.card.js +++ b/src/widget/dynamicdate/dynamicdate.card.js @@ -301,8 +301,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, { default: break; } - if(BI.isNull(value.dateType)) { - valueMap.position = self.position || BI.DynamicDateCard.OFFSET.CURRENT; + if (BI.isNull(value.dateType)) { + valueMap.position = this.position || BI.DynamicDateCard.OFFSET.CURRENT; } return valueMap; },