forked from 0x2620/oxjs
fix resize bugs in calendar, list calendar etc
This commit is contained in:
parent
70376be049
commit
93fe766c7b
6 changed files with 40 additions and 19 deletions
|
|
@ -241,7 +241,7 @@ Ox.ListCalendar = function(options, self) {
|
|||
.bindEvent({
|
||||
resize: function(data) {
|
||||
// triggered by SplitPanel
|
||||
$element.resizeCalendar();
|
||||
self.$calendar.resizeCalendar();
|
||||
},
|
||||
select: selectEvent
|
||||
});
|
||||
|
|
@ -619,6 +619,7 @@ Ox.ListCalendar = function(options, self) {
|
|||
if (key == 'height') {
|
||||
// fixme: should be .resizeList
|
||||
self.$list.size();
|
||||
self.$calendar.resizeCalendar();
|
||||
} else if (key == 'width') {
|
||||
self.$calendar.resizeCalendar();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue