minor changes
This commit is contained in:
parent
5095eeed5d
commit
f9360db0b4
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue