1
0
Fork 0
forked from 0x2620/oxjs

annotations are loaded asynchronously: dont fire select event before they are loaded.

This commit is contained in:
j 2014-12-26 12:08:35 +00:00
commit 4aba1474d6
2 changed files with 30 additions and 30 deletions

View file

@ -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) {