avoid loop while selecting multiple annotations
This commit is contained in:
parent
c391d7f4fa
commit
d7fbea4a20
1 changed files with 5 additions and 0 deletions
|
@ -202,6 +202,11 @@ pandora.ui.item = function() {
|
|||
}
|
||||
});
|
||||
}
|
||||
// avoid loop while selecting multiple annotations
|
||||
if (options.selected == '' && Ox.isArray(pandora.$ui[pandora.user.ui.itemView].options('selected'))) {
|
||||
delete options.selected
|
||||
}
|
||||
console.log("!! video points update", pandora.user.ui.itemView, options)
|
||||
pandora.$ui[pandora.user.ui.itemView].options(options);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue