forked from 0x2620/oxjs
annotations are loaded asynchronously: dont fire select event before they are loaded.
This commit is contained in:
parent
acbb56da65
commit
4aba1474d6
2 changed files with 30 additions and 30 deletions
|
|
@ -139,10 +139,6 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
})
|
||||
);
|
||||
|
||||
self.options.selected && getFolder(self.options.selected) && scrollToSelected(
|
||||
getFolder(self.options.selected).options('type')
|
||||
);
|
||||
|
||||
function getAnnotation(annotationId) {
|
||||
var found = false, annotation;
|
||||
Ox.forEach(self.options.layers, function(layer, i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue