From daf8c8d5c54e0c991b230f62cd871711afa8d5c3 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 10 Aug 2013 09:35:42 +0000 Subject: [PATCH] fix #1796 (JS error when deselecting map place while clip is selected) --- static/js/navigationView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/navigationView.js b/static/js/navigationView.js index 08c4c278..c2b665cb 100644 --- a/static/js/navigationView.js +++ b/static/js/navigationView.js @@ -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}}); }