render empty item

This commit is contained in:
j 2017-02-18 12:18:25 +01:00
parent dceee58638
commit 64e8c1f4b2

View file

@ -307,14 +307,13 @@ pandora.ui.homeDialog = function() {
} }
function renderItem(data) { function renderItem(data) {
$item.empty().append( $item.empty();
pandora.renderHomeItem({ data && pandora.renderHomeItem({
data: data, data: data,
editItem: editItem editItem: editItem
}).css({ }).css({
margin: '16px' margin: '16px'
}) }).appendTo($item);
);
} }
function renderList(items, selected) { function renderList(items, selected) {