|
|
@ -379,8 +379,19 @@ BI.DynamicDateTimeTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
|
|
|
|
|
|
|
isValid: function () { |
|
|
|
isValid: function () { |
|
|
|
return this.editor.isValid(); |
|
|
|
return this.editor.isValid(); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
focus: function () { |
|
|
|
|
|
|
|
this.editor.focus(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
blur: function () { |
|
|
|
|
|
|
|
this.editor.blur(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setWaterMark: function (v) { |
|
|
|
|
|
|
|
this.editor.setWaterMark(v); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
BI.DynamicDateTimeTrigger.EVENT_BLUR = "EVENT_BLUR"; |
|
|
|
BI.DynamicDateTimeTrigger.EVENT_BLUR = "EVENT_BLUR"; |
|
|
@ -393,4 +404,4 @@ BI.DynamicDateTimeTrigger.EVENT_VALID = "EVENT_VALID"; |
|
|
|
BI.DynamicDateTimeTrigger.EVENT_ERROR = "EVENT_ERROR"; |
|
|
|
BI.DynamicDateTimeTrigger.EVENT_ERROR = "EVENT_ERROR"; |
|
|
|
BI.DynamicDateTimeTrigger.EVENT_TRIGGER_CLICK = "EVENT_TRIGGER_CLICK"; |
|
|
|
BI.DynamicDateTimeTrigger.EVENT_TRIGGER_CLICK = "EVENT_TRIGGER_CLICK"; |
|
|
|
BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; |
|
|
|
BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; |
|
|
|
BI.shortcut("bi.dynamic_date_time_trigger", BI.DynamicDateTimeTrigger); |
|
|
|
BI.shortcut("bi.dynamic_date_time_trigger", BI.DynamicDateTimeTrigger); |