diff --git a/static/js/item.js b/static/js/item.js index 79d0899c..18ccd28c 100644 --- a/static/js/item.js +++ b/static/js/item.js @@ -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); } }