|
|
|
@ -90644,8 +90644,11 @@ BI.extend(BI.DynamicDateCard, {
|
|
|
|
|
eventName: BI.DynamicDateTrigger.EVENT_ERROR, |
|
|
|
|
action: function () { |
|
|
|
|
self.storeValue = { |
|
|
|
|
type: BI.DynamicDateCombo.Static, |
|
|
|
|
value: { |
|
|
|
|
year: date.getFullYear(), |
|
|
|
|
month: date.getMonth() + 1 |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR); |
|
|
|
|
} |
|
|
|
@ -90701,9 +90704,12 @@ BI.extend(BI.DynamicDateCard, {
|
|
|
|
|
action: function () { |
|
|
|
|
var date = BI.getDate(); |
|
|
|
|
self.setValue({ |
|
|
|
|
type: BI.DynamicDateCombo.Static, |
|
|
|
|
value: { |
|
|
|
|
year: date.getFullYear(), |
|
|
|
|
month: date.getMonth() + 1, |
|
|
|
|
day: date.getDate() |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self.combo.hideView(); |
|
|
|
|
self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); |
|
|
|
@ -91493,8 +91499,11 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
|
|
|
|
|
eventName: BI.DynamicDateTimeTrigger.EVENT_ERROR, |
|
|
|
|
action: function () { |
|
|
|
|
self.storeValue = { |
|
|
|
|
type: BI.DynamicDateTimeCombo.Static, |
|
|
|
|
value: { |
|
|
|
|
year: date.getFullYear(), |
|
|
|
|
month: date.getMonth() + 1 |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR); |
|
|
|
|
} |
|
|
|
@ -91550,12 +91559,15 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
|
|
|
|
|
action: function () { |
|
|
|
|
var date = BI.getDate(); |
|
|
|
|
self.setValue({ |
|
|
|
|
type: BI.DynamicDateTimeCombo.Static, |
|
|
|
|
value: { |
|
|
|
|
year: date.getFullYear(), |
|
|
|
|
month: date.getMonth() + 1, |
|
|
|
|
day: date.getDate(), |
|
|
|
|
hour: 0, |
|
|
|
|
minute: 0, |
|
|
|
|
second: 0 |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
self.combo.hideView(); |
|
|
|
|
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM); |
|
|
|
|