diff --git a/static/js/pandora/ui/list.js b/static/js/pandora/ui/list.js index 3e1414cb..a9cefc72 100644 --- a/static/js/pandora/ui/list.js +++ b/static/js/pandora/ui/list.js @@ -391,7 +391,10 @@ pandora.ui.list = function() { pandora.getListData().editable && pandora.api.removeListItems({ list: pandora.user.ui._list, items: data.ids - }, pandora.reloadList); + }, function() { + that.options({selected: []}); + pandora.reloadList(); + }); }, init: function(data) { pandora.$ui.total.html(pandora.ui.status('total', data)); diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index efffc059..d01f419f 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -687,6 +687,7 @@ pandora.reloadList = function() { .bindEventOnce({ load: function(data) { pandora.$ui.list.gainFocus(); + // fixme: what is this? if (data) pandora.$ui.list.options({selected: [data.items]}); } })