forked from 0x2620/oxjs
make doubleclicking on non-editable annotation 'open' it, i.e. go to its in point
This commit is contained in:
parent
94cfbdb45c
commit
529184887a
6 changed files with 21 additions and 2 deletions
|
|
@ -88,6 +88,9 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
that.triggerEvent('info', {layer: layer.id});
|
||||
},
|
||||
insert: insert,
|
||||
open: function() {
|
||||
that.triggerEvent('open');
|
||||
},
|
||||
remove: function(data) {
|
||||
that.triggerEvent('remove', Ox.extend({layer: layer.id}, data));
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue