From b95c3ab1832f7bdf7582494f827f8b1b38994682 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 22 Dec 2010 20:28:27 +0000 Subject: [PATCH] some fixes for icon list resize --- build/js/ox.ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index d605bfd..f102b69 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -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' }); });