|
|
@ -74204,6 +74204,7 @@ BI.Calendar = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
items = BI.map(items, function (i, item) { |
|
|
|
items = BI.map(items, function (i, item) { |
|
|
|
return BI.map(item, function (j, td) { |
|
|
|
return BI.map(item, function (j, td) { |
|
|
|
|
|
|
|
var month = td.lastMonth ? o.month - 1 : (td.nextMonth ? o.month + 1 : o.month); |
|
|
|
return BI.extend(td, { |
|
|
|
return BI.extend(td, { |
|
|
|
type: "bi.text_item", |
|
|
|
type: "bi.text_item", |
|
|
|
cls: "bi-list-item-select", |
|
|
|
cls: "bi-list-item-select", |
|
|
@ -74212,7 +74213,7 @@ BI.Calendar = BI.inherit(BI.Widget, { |
|
|
|
once: false, |
|
|
|
once: false, |
|
|
|
forceSelected: true, |
|
|
|
forceSelected: true, |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
value: o.year + "-" + o.month + "-" + td.text, |
|
|
|
value: o.year + "-" + month + "-" + td.text, |
|
|
|
disabled: td.lastMonth || td.nextMonth || td.disabled |
|
|
|
disabled: td.lastMonth || td.nextMonth || td.disabled |
|
|
|
// selected: td.currentDay
|
|
|
|
// selected: td.currentDay
|
|
|
|
}); |
|
|
|
}); |
|
|
|