forked from 0x2620/oxjs
selectbefore/selectafter -> selectprevious/selectnext
This commit is contained in:
parent
9d802dbf49
commit
74e6c12904
4 changed files with 19 additions and 19 deletions
|
|
@ -20,8 +20,8 @@ Ox.AnnotationFolder <f> AnnotationFolder Object
|
|||
key_* <!> key_*
|
||||
open <!> open
|
||||
remove <!> remove
|
||||
selectafter <!> selectafter
|
||||
selectbefore <!> selectbefore
|
||||
selectnext <!> selectnext
|
||||
selectprevious <!> selectprevious
|
||||
selectnone <!> selectnone
|
||||
select <!> select
|
||||
submit <!> submit
|
||||
|
|
@ -307,11 +307,11 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
that.triggerEvent('open');
|
||||
},
|
||||
select: selectAnnotation,
|
||||
selectafter: function() {
|
||||
that.triggerEvent('selectafter');
|
||||
selectnext: function() {
|
||||
that.triggerEvent('selectnext');
|
||||
},
|
||||
selectbefore: function() {
|
||||
that.triggerEvent('selectbefore');
|
||||
selectprevious: function() {
|
||||
that.triggerEvent('selectprevious');
|
||||
},
|
||||
selectnone: function() {
|
||||
that.triggerEvent('selectnone');
|
||||
|
|
@ -652,7 +652,7 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
self.$annotations.gainFocus();
|
||||
} else {
|
||||
that.triggerEvent(
|
||||
position == 0 ? 'selectafter' : 'selectbefore'
|
||||
position == 0 ? 'selectnext' : 'selectprevious'
|
||||
);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue