some fixes

This commit is contained in:
rlx 2011-01-05 17:17:11 +00:00
parent 149e31c484
commit eabe90526f

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({
new Ox.ListItem({
construct: self.options.construct
});
$item.addClass('OxEmpty').removeClass('OxTarget');
$item.appendTo($page);
}).appendTo($page);
}
Ox.print('cEP done')
return $page;