1
0
Fork 0
forked from 0x2620/oxjs

selectbefore/selectafter -> selectprevious/selectnext

This commit is contained in:
rlx 2013-05-08 16:53:33 +00:00
commit 74e6c12904
4 changed files with 19 additions and 19 deletions

View file

@ -50,8 +50,8 @@ Ox.List <f> List constructor
openpreview <!> preview of selected item opened
closepreview <!> preview closed
select <!> select item
selectafter <!> selectafter
selectbefore <!> selectbefore
selectnext <!> selectnext
selectprevious <!> selectprevious
toggle <!> toggle
@*/
@ -1178,7 +1178,7 @@ Ox.List = function(options, self) {
select(pos);
scrollToPosition(pos);
} else if (self.selected.length) {
that.triggerEvent('selectafter');
that.triggerEvent('selectnext');
}
}
@ -1192,7 +1192,7 @@ Ox.List = function(options, self) {
select(pos);
scrollToPosition(pos);
} else if (self.selected.length) {
that.triggerEvent('selectbefore');
that.triggerEvent('selectprevious');
}
}