don't throw on place deselect (data is now null, not {})

This commit is contained in:
rolux 2014-09-26 13:21:08 +02:00
parent 3c1fc9690e
commit ae9d2768c9

View file

@ -216,7 +216,7 @@ pandora.ui.navigationView = function(type, videoRatio) {
updateStatusbar(0); updateStatusbar(0);
function selectItem(data) { function selectItem(data) {
var id = data.id || ''; var id = data ? data.id : '';
if (id && id[0] != '_') { if (id && id[0] != '_') {
$status.html(Ox._('Loading...')); $status.html(Ox._('Loading...'));
$list.options({ $list.options({