|
|
@ -42,7 +42,7 @@ BI.DynamicDateTimeTrigger = BI.inherit(BI.Trigger, { |
|
|
|
watermark: BI.i18nText("BI-Basic_Unrestricted"), |
|
|
|
watermark: BI.i18nText("BI-Basic_Unrestricted"), |
|
|
|
errorText: function () { |
|
|
|
errorText: function () { |
|
|
|
var str = ""; |
|
|
|
var str = ""; |
|
|
|
if (BI.isKey(o.format)) { |
|
|
|
if (!BI.isKey(o.format)) { |
|
|
|
str = self.editor.isEditing() ? BI.i18nText("BI-Basic_Date_Time_Error_Text") : BI.i18nText("BI-Year_Trigger_Invalid_Text"); |
|
|
|
str = self.editor.isEditing() ? BI.i18nText("BI-Basic_Date_Time_Error_Text") : BI.i18nText("BI-Year_Trigger_Invalid_Text"); |
|
|
|
} |
|
|
|
} |
|
|
|
return str; |
|
|
|
return str; |
|
|
|