fix for horizontal lists not having their full width

This commit is contained in:
rlx 2011-04-19 16:02:41 +00:00
parent 39501de9d0
commit 6784b07d24

View file

@ -6579,6 +6579,9 @@ requires
});
*/
// fixme: without this, horizontal lists don't get their full width ... weird
self.options.orientation == 'horizontal' && that.$content.css({height: '1px'});
$.extend(self, {
$items: [],
$pages: [],
@ -7201,7 +7204,9 @@ requires
self.$items[pos].appendTo(self.$pages[page]);
});
self.options.type == 'text' && page == 0 && fillFirstPage();
$emptyPage.remove();
// fixme: why does emptyPage sometimes have no methods?
Ox.print('emptyPage', $emptyPage)
$emptyPage.removeElement && $emptyPage.removeElement();
self.$pages[page].appendTo(that.$content);
!Ox.isUndefined(callback) && callback(); // fixme: callback necessary? why not bind to event?
}));