forked from 0x2620/pandora
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) {
|
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) {
|
||||||
|
|
Loading…
Reference in a new issue