some fixes
This commit is contained in:
parent
260ed67b68
commit
15b743170f
1 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue