render empty item
This commit is contained in:
parent
dceee58638
commit
64e8c1f4b2
1 changed files with 7 additions and 8 deletions
|
@ -307,14 +307,13 @@ pandora.ui.homeDialog = function() {
|
|||
}
|
||||
|
||||
function renderItem(data) {
|
||||
$item.empty().append(
|
||||
pandora.renderHomeItem({
|
||||
$item.empty();
|
||||
data && pandora.renderHomeItem({
|
||||
data: data,
|
||||
editItem: editItem
|
||||
}).css({
|
||||
margin: '16px'
|
||||
})
|
||||
);
|
||||
}).appendTo($item);
|
||||
}
|
||||
|
||||
function renderList(items, selected) {
|
||||
|
|
Loading…
Reference in a new issue