|
|
@ -111985,7 +111985,7 @@ BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.Dyna |
|
|
|
}); |
|
|
|
}); |
|
|
|
editor.on(BI.SignEditor.EVENT_CHANGE, function () { |
|
|
|
editor.on(BI.SignEditor.EVENT_CHANGE, function () { |
|
|
|
if(isYear) { |
|
|
|
if(isYear) { |
|
|
|
self._autoSwitch(editor.getValue()); |
|
|
|
self._autoSwitch(editor); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -112018,6 +112018,7 @@ BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.Dyna |
|
|
|
if (BI.isNotEmptyString(v) && BI.checkDateLegal(v)) { |
|
|
|
if (BI.isNotEmptyString(v) && BI.checkDateLegal(v)) { |
|
|
|
if (v.length === 4 && this._yearCheck(v)) { |
|
|
|
if (v.length === 4 && this._yearCheck(v)) { |
|
|
|
this._doEditorConfirm(editor); |
|
|
|
this._doEditorConfirm(editor); |
|
|
|
|
|
|
|
this.fireEvent(BI.DynamicYearQuarterTrigger.EVENT_CONFIRM); |
|
|
|
this.quarterEditor.focus(); |
|
|
|
this.quarterEditor.focus(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|