1
0
Fork 0
forked from 0x2620/oxjs

fix resize bugs in calendar, list calendar etc

This commit is contained in:
rlx 2012-01-30 22:11:05 +00:00
commit 93fe766c7b
6 changed files with 40 additions and 19 deletions

View file

@ -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();
}