some fixes for icon list resize

This commit is contained in:
rolux 2010-12-22 20:28:27 +00:00
parent 533e3baa52
commit b95c3ab183

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'
});
});