some fixes

This commit is contained in:
rlx 2011-01-05 17:17:11 +00:00
parent 260ed67b68
commit 15b743170f

View file

@ -6198,9 +6198,8 @@ requires
function addToSelection(pos) {
if (!isSelected(pos)) {
self.selected.push(pos);
if (!Ox.isUndefined(self.$items[pos])) {
!Ox.isUndefined(self.$items[pos]) &&
self.$items[pos].addClass('OxSelected');
}
Ox.print('addToSelection')
triggerSelectEvent();
} else {
@ -6231,11 +6230,9 @@ requires
self.pageLength : self.listLength % self.pageLength); i++
) {
// fixme: why does chainging fail here?
var $item = new Ox.ListItem({
construct: self.options.construct
});
$item.addClass('OxEmpty').removeClass('OxTarget');
$item.appendTo($page);
new Ox.ListItem({
construct: self.options.construct
}).appendTo($page);
}
Ox.print('cEP done')
return $page;