fix #1796 (JS error when deselecting map place while clip is selected)

This commit is contained in:
rolux 2013-08-10 09:35:42 +00:00
parent 1de58ea400
commit daf8c8d5c5

View file

@ -237,6 +237,8 @@ pandora.ui.navigationView = function(type, videoRatio) {
type == 'map' && pandora.UI.set({mapSelection: data.name});
} else {
$list.options({
selected: []
}).options({
items: function(data, callback) {
callback({data: {items: data.keys ? [] : 0}});
}