|
|
@ -90162,7 +90162,7 @@ BI.extend(BI.DynamicDateCard, { |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
self.storeValue = { |
|
|
|
self.storeValue = { |
|
|
|
year: date.getFullYear(), |
|
|
|
year: date.getFullYear(), |
|
|
|
month: date.getMonth() |
|
|
|
month: date.getMonth() + 1 |
|
|
|
}; |
|
|
|
}; |
|
|
|
self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR); |
|
|
|
self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
@ -90218,7 +90218,7 @@ BI.extend(BI.DynamicDateCard, { |
|
|
|
var date = BI.getDate(); |
|
|
|
var date = BI.getDate(); |
|
|
|
self.setValue({ |
|
|
|
self.setValue({ |
|
|
|
year: date.getFullYear(), |
|
|
|
year: date.getFullYear(), |
|
|
|
month: date.getMonth(), |
|
|
|
month: date.getMonth() + 1, |
|
|
|
day: date.getDate() |
|
|
|
day: date.getDate() |
|
|
|
}); |
|
|
|
}); |
|
|
|
self.combo.hideView(); |
|
|
|
self.combo.hideView(); |
|
|
@ -90979,7 +90979,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
self.storeValue = { |
|
|
|
self.storeValue = { |
|
|
|
year: date.getFullYear(), |
|
|
|
year: date.getFullYear(), |
|
|
|
month: date.getMonth() |
|
|
|
month: date.getMonth() + 1 |
|
|
|
}; |
|
|
|
}; |
|
|
|
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR); |
|
|
|
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
@ -91035,7 +91035,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime |
|
|
|
var date = BI.getDate(); |
|
|
|
var date = BI.getDate(); |
|
|
|
self.setValue({ |
|
|
|
self.setValue({ |
|
|
|
year: date.getFullYear(), |
|
|
|
year: date.getFullYear(), |
|
|
|
month: date.getMonth(), |
|
|
|
month: date.getMonth() + 1, |
|
|
|
day: date.getDate(), |
|
|
|
day: date.getDate(), |
|
|
|
hour: 0, |
|
|
|
hour: 0, |
|
|
|
minute: 0, |
|
|
|
minute: 0, |
|
|
|