minor changes

This commit is contained in:
rlx 2011-08-07 23:43:37 +00:00
parent 5095eeed5d
commit f9360db0b4

View file

@ -670,7 +670,7 @@ Ox.List = function(options, self) {
} }
function loadItems() { function loadItems() {
Ox.print('start loadItems') //Ox.print('start loadItems')
that.$content.empty(); that.$content.empty();
self.options.items.forEach(function(item, pos) { self.options.items.forEach(function(item, pos) {
// fixme: duplicated // fixme: duplicated
@ -685,7 +685,7 @@ Ox.List = function(options, self) {
self.$items[pos].appendTo(that.$content); self.$items[pos].appendTo(that.$content);
}); });
self.selected.length && scrollToPosition(self.selected[0]); self.selected.length && scrollToPosition(self.selected[0]);
Ox.print('stop loadItems') //Ox.print('stop loadItems')
} }
function getPageLength(page) { function getPageLength(page) {