some fixes for icon list resize

This commit is contained in:
rolux 2010-12-22 20:28:27 +00:00
parent 5ac1e5e2bf
commit 11cc787d84

View file

@ -6338,6 +6338,7 @@ requires
function loadPages(page, callback) {
var counter = 0,
fn = function() {
Ox.print('---- self.$pages', self.$pages)
++counter == 2 && !Ox.isUndefined(callback) && callback();
};
loadPage(page, function() {
@ -6658,7 +6659,7 @@ requires
self.rowLength = rowLength;
self.pageWidth = (self.options.itemWidth + self.itemMargin) * self.rowLength;
$.each(self.$pages, function(i, $page) {
$page.css({
!Ox.isUndefined($page) && $page.css({
width: self.pageWidth + 'px'
});
});