From ae9d2768c9c3f6866e8108afc1ba8efc3dbc7d4d Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 26 Sep 2014 13:21:08 +0200 Subject: [PATCH] don't throw on place deselect (data is now null, not {}) --- static/js/navigationView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/navigationView.js b/static/js/navigationView.js index 019cd37b..48b74e85 100644 --- a/static/js/navigationView.js +++ b/static/js/navigationView.js @@ -216,7 +216,7 @@ pandora.ui.navigationView = function(type, videoRatio) { updateStatusbar(0); function selectItem(data) { - var id = data.id || ''; + var id = data ? data.id : ''; if (id && id[0] != '_') { $status.html(Ox._('Loading...')); $list.options({